- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 272 for bufB (0.04 sec)
-
src/main/java/org/codelibs/core/net/UuidUtil.java
*/ public static String create() { final StringBuilder buf = new StringBuilder(BASE.length() * 2); buf.append(BASE); final int lowTime = (int) (System.currentTimeMillis() >> 32); StringUtil.appendHex(buf, lowTime); StringUtil.appendHex(buf, RANDOM.nextInt()); return buf.toString(); } private static byte[] getAddress() { try {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("foo"); byte[] buf = new byte[2]; int r = cmd.writeSetupWireFormat(buf, 0); assertEquals(2, r); byte subCmd = (byte) getPrivateField(cmd, "subCommand"); assertEquals(subCmd, buf[0]); assertEquals((byte) 0x00, buf[1]); } @Test @DisplayName("writeParametersWireFormat writes referral level and path")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.2K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
} }) b.Run("ToFileInfoNew", func(b *testing.B) { b.SetBytes(int64(size)) b.ResetTimer() b.ReportAllocs() for b.Loop() { buf, _, _ := isIndexedMetaV2(enc) if buf == nil { b.Fatal("buf == nil") } _, err = buf.ToFileInfo("volume", "path", ids[rng.Intn(size)], true) if err != nil { b.Fatal(err) } } })
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 17.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
// Comma to separate argument gets a space; comma within does not. var buf []byte nest := 0 for i := 0; i < len(printed); i++ { c := printed[i] switch c { case '{', '[': nest++ case '}', ']': nest-- case ',': buf = append(buf, ',') if nest == 0 { buf = append(buf, ' ') } for i+1 < len(printed) && (printed[i+1] == ' ' || printed[i+1] == '\t') {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Mar 26 01:02:50 UTC 2025 - 11.9K bytes - Viewed (0) -
cmd/storage-rest-client.go
} // AppendFile - append to a file. func (client *storageRESTClient) AppendFile(ctx context.Context, volume string, path string, buf []byte) error { values := make(url.Values) values.Set(storageRESTVolume, volume) values.Set(storageRESTFilePath, path) reader := bytes.NewReader(buf) respBody, err := client.call(ctx, storageRESTMethodAppendFile, values, reader, -1) defer xhttp.DrainBody(respBody) return err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 08 02:38:41 UTC 2025 - 30.4K bytes - Viewed (0) -
src/bufio/export_test.go
) var IsSpace = isSpace const DefaultBufSize = defaultBufSize func (s *Scanner) MaxTokenSize(n int) { if n < utf8.UTFMax || n > 1e9 { panic("bad max token size") } if n < len(s.buf) { s.buf = make([]byte, n) } s.maxTokenSize = n } // ErrOrEOF is like Err, but returns EOF. Used to test a corner case. func (s *Scanner) ErrOrEOF() error { return s.err
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Nov 02 17:17:44 UTC 2017 - 597 bytes - Viewed (0) -
lib/fips140/v1.0.0.zip
64-bit integers. func ctrBlocks(b *Block, dst, src []byte, ivlo, ivhi uint64) { buf := make([]byte, len(src), 8*BlockSize) for i := 0; i < len(buf); i += BlockSize { byteorder.BEPutUint64(buf[i:], ivhi) byteorder.BEPutUint64(buf[i+8:], ivlo) ivlo, ivhi = add128(ivlo, ivhi, 1) encryptBlock(b, buf[i:], buf[i:]) } // XOR into buf first, in case src and dst overlap (see above). subtle.XORBytes(buf, src, buf) copy(dst, buf) } func add128(lo, hi uint64, x uint64) (uint64, uint64) { lo, c := bits.Add64(lo,...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
// SMB uses little-endian byte order private static void writeLong(byte[] buf, int offset, long val) { for (int i = 0; i < 8; i++) { buf[offset + i] = (byte) ((val >>> (8 * i)) & 0xFF); } } private static void writeShort(byte[] buf, int offset, int val) { buf[offset] = (byte) (val & 0xFF); buf[offset + 1] = (byte) ((val >>> 8) & 0xFF); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0)