Este sitio web funciona mejor con JavaScript.
Inicio
Ayuda
Iniciar sesión
lolengine
/
lol
réplica de
https://github.com/lolengine/lol
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
sys: use progressively larger temporary buffers when reading files.
legacy
Sam Hocevar
sam
hace 12 años
padre
75d4503a01
commit
526feb9b80
Se han
modificado 1 ficheros
con
1 adiciones
y
2 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-2
src/sys/file.cpp
+ 1
- 2
src/sys/file.cpp
Ver fichero
@@ -84,8 +84,7 @@ class FileData
ret.Resize(oldsize + done);
memcpy(&ret[oldsize], &buf[0], done);
/* XXX: we could resize the buffer here
* buf.Resize(buf.Count() * 3 / 2); */
buf.Resize(buf.Count() * 3 / 2);
}
return ret;
}
Escribir
Vista previa
Cargando…
Cancelar
Guardar