- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for 512K (0.03 seconds)
-
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
} /** * Formats a file size in bytes to a human-readable string with appropriate units. * * @param value the file size in bytes * @return formatted file size string (e.g., "1.5M", "2.3G", "512K") */ public static String formatFileSize(final long value) { double target = value; String unit = ""; // TODO l10n? String format = "0.#"; if (value < 1024) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25.4K bytes - Click Count (1) -
src/archive/tar/reader_test.go
trash := strings.Repeat("garbage ", 64) // Exactly 512 bytes vectors := []struct { input string // Input stream cnt int // Expected number of headers read err error // Expected error outcome }{ {"", 0, io.EOF}, // Empty file is a "valid" tar file {data1[:511], 0, io.ErrUnexpectedEOF}, {data1[:512], 1, io.ErrUnexpectedEOF}, {data1[:1024], 1, io.EOF},
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 47.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/storage/StorageItemTest.java
assertEquals(largeSize, item.getSize()); } public void test_rootPath() { final StorageItem item = new StorageItem("root-file.txt", "", false, 512L, null, "cm9vdC1maWxlLnR4dA=="); assertEquals("root-file.txt", item.getName()); assertEquals("", item.getPath()); } public void test_deeplyNestedPath() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 12:58:11 GMT 2026 - 4.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
.put("sHa-1", sha1()) // Not the official name, but still works .put("SHA-1", sha1()) .put("SHA-256", sha256()) .put("SHA-384", sha384()) .put("SHA-512", sha512()) .build(); public void testHashing() throws Exception { for (String stringToTest : INPUTS) { for (String algorithmToTest : ALGORITHMS.keySet()) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 4.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/util/ScrollOperationHelperTest.java
// Index documents with different numeric values for easy filtering for (int i = 0; i < 10; i++) { Map<String, Object> source = new HashMap<>(); source.put("category", i < 5 ? 1 : 2); // Use numeric field for reliable filtering source.put("value", i); client.prepareIndex(INDEX_NAME).setSource(source, XContentType.JSON).execute().actionGet(); } runner.refresh();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 10.3K bytes - Click Count (0) -
src/archive/tar/writer_test.go
testClose{nil}, }, }, { // The truncated test file was produced using these commands: // dd if=/dev/zero bs=1048576 count=16384 > /tmp/16gig.txt // tar -b 1 -c -f- /tmp/16gig.txt | dd bs=512 count=8 > writer-big.tar file: "testdata/writer-big.tar", tests: []testFnc{ testHeader{Header{ Typeflag: TypeReg, Name: "tmp/16gig.txt", Size: 16 << 30, Mode: 0640,Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
android/guava/src/com/google/common/math/IntMath.java
} private static int sqrtFloor(int x) { // There is no loss of precision in converting an int to a double, according to // http://java.sun.com/docs/books/jls/third_edition/html/conversions.html#5.1.2 return (int) Math.sqrt(x); } /** * Returns the result of dividing {@code p} by {@code q}, rounding using the specified {@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 26.1K bytes - Click Count (0) -
docs/en/docs/release-notes.md
* ⬆ Bump actions/setup-python from 2 to 4. PR [#5129](https://github.com/tiangolo/fastapi/pull/5129) by [@dependabot[bot]](https://github.com/apps/dependabot). * 👷 Add Dependabot. PR [#5128](https://github.com/tiangolo/fastapi/pull/5128) by [@tiangolo](https://github.com/tiangolo). * ♻️ Move from `Optional[X]` to `Union[X, None]` for internal utils. PR [#5124](https://github.com/tiangolo/fastapi/pull/5124) by [@tiangolo](https://github.com/tiangolo).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:07:04 GMT 2026 - 631K bytes - Click Count (0) -
tests/migrate_test.go
if DB.Dialector.Name() != "mysql" { t.Skip() } type MyTable struct { Def string `gorm:"size:512;index:idx_def,unique"` Abc string `gorm:"size:65000000"` } DB.Migrator().DropTable("my_tables") sql := "CREATE TABLE `my_tables` (`def` varchar(512),`abc` longtext,UNIQUE INDEX `idx_def` (`def`))" if err := DB.Exec(sql).Error; err != nil { t.Errorf("Failed, got error: %v", err)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:49:01 GMT 2026 - 66.3K bytes - Click Count (0)