- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for filebytes (0.08 seconds)
-
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
// String data in UTF-16LE buf.writeOctetArray(wideBytes, 0, wideBytes.length); buf.enc_ndr_short(0); // Wide null terminator // Pad to 4-byte boundary int padding = (4 - ((wideBytes.length + 2) % 4)) % 4; for (int i = 0; i < padding; i++) { buf.enc_ndr_small(0); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/MemoryUtil.java
*/ public static String getMemoryUsageLog() { final Runtime runtime = Runtime.getRuntime(); final long freeBytes = runtime.freeMemory(); final long maxBytes = runtime.maxMemory(); final long totalBytes = runtime.totalMemory(); final long usedBytes = totalBytes - freeBytes; return "Mem:{used " + byteCountToDisplaySize(usedBytes) + ", heap " + byteCountToDisplaySize(totalBytes) + ", max "Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/FacetQueryView.java
final ResourceBundle resources = ResourceBundle.getBundle("fess_label", Locale.ENGLISH); final String[] fileTypes = ComponentUtil.getFileTypeHelper().getTypes(); for (final String fileType : fileTypes) { final String value = filetypeField + ":" + fileType; if (!values.contains(value)) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 4.4K bytes - Click Count (0) -
src/bytes/buffer_test.go
} return s } // Fill buf through n writes of byte slice fub. // The initial contents of buf corresponds to the string s; // the result is the final contents of buf returned as a string. func fillBytes(t *testing.T, testname string, buf *Buffer, s string, n int, fub []byte) string { check(t, testname+" (fill 1)", buf, s) for ; n > 0; n-- { m, err := buf.Write(fub) if m != len(fub) {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
private MockResponse fileToResponse(String path, File file) throws IOException { return new MockResponse() .setStatus("HTTP/1.1 200") .setBody(fileToBytes(file)) .addHeader("content-type: " + contentType(path)); } private Buffer fileToBytes(File file) throws IOException { Buffer result = new Buffer(); result.writeAll(Okio.source(file)); return result; }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
return ""; } // Read wide string data (UTF-16LE) int byteCount = (actualCount - 1) * 2; // Exclude null terminator byte[] wideBytes = new byte[byteCount]; buf.readOctetArray(wideBytes, 0, byteCount); // Skip null terminator buf.dec_ndr_short(); // Skip padding int padding = (4 - ((byteCount + 2) % 4)) % 4;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 16.4K bytes - Click Count (0) -
ci/official/utilities/rename_and_verify_wheels.sh
# other than the most recently-modified one (the new one). ls -t *.whl | tail -n +2 | xargs rm fi # Check if size is too big. TFCI_WHL_SIZE_LIMIT is in find's format, which can be # 'k' for kilobytes, 'M' for megabytes, or 'G' for gigabytes, and the + to indicate # "anything greater than" is added by the script.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Sep 22 21:39:32 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
void toString_containsExpected() { when(cfg.isTraceResourceUsage()).thenReturn(false); stubValidTree(1L, true, true); byte[] fidBytes = new byte[] { 0x01, 0x02 }; SmbFileHandleImpl h1 = new SmbFileHandleImpl(cfg, fidBytes, tree, "//u/one", 0x10, 0x20, 0x30, 0x40, 0L); String s1 = h1.toString(); assertTrue(s1.contains("//u/one"));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle_test.go
ruleSet := make(map[string]struct{}) for _, rule := range lc.Rules { ruleBytes, err := xml.Marshal(rule) if err != nil { t.Fatal(err) } ruleSet[string(ruleBytes)] = struct{}{} } for _, rule := range lc1.Rules { ruleBytes, err := xml.Marshal(rule) if err != nil { t.Fatal(err) } if _, ok := ruleSet[string(ruleBytes)]; !ok { t.Fatalf("Expected %v to be equal to %v, %v missing", lc, lc1, rule)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0) -
cmd/metrics-resource.go
memAvailable: "Available memory on the node", readsPerSec: "Reads per second on a drive", writesPerSec: "Writes per second on a drive", readsKBPerSec: "Kilobytes read per second on a drive", writesKBPerSec: "Kilobytes written per second on a drive", readsAwait: "Average time for read requests to be served on a drive", writesAwait: "Average time for write requests to be served on a drive",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 17.2K bytes - Click Count (0)