- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 204 for 04 (0.01 seconds)
-
internal/s3select/genmessage.go
buf.WriteByte(13) buf.WriteString(":message-type") buf.WriteByte(7) buf.Write([]byte{0, 5}) buf.WriteString("event") buf.WriteByte(11) buf.WriteString(":event-type") buf.WriteByte(7) buf.Write([]byte{0, 4}) buf.WriteString("Cont") header := buf.Bytes() headerLength := len(header) payloadLength := 0 totalLength := totalByteLength(headerLength, payloadLength) buf = new(bytes.Buffer)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 4.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
void testWriteSecurityBufferZeroLength() { byte[] dest = new byte[10]; byte[] before = dest.clone(); NtlmMessage.writeSecurityBuffer(dest, 0, 4, null); assertArrayEquals(before, dest, "Zero length should leave dest unchanged"); } @Test @DisplayName("writeSecurityBuffer copies data and sets fields")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
// if expected.length == 0, off has to be 0 but length doesn't matter--result will be empty int off = expected.length == 0 ? 0 : random.nextInt(expected.length); int len = expected.length == 0 ? 4 : random.nextInt(expected.length - off); ByteSourceFactory sliced = SourceSinkFactories.asSlicedByteSourceFactory(factory, off, len); suite.addTest(suiteForBytes(sliced, bytes, name + ".slice[long, long]", desc, false));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
write(this.tmp, 0, 4); } @Override public final void writeLong(final long v) throws SmbException { Encdec.enc_uint64be(v, this.tmp, 0); write(this.tmp, 0, 8); } @Override public final void writeFloat(final float v) throws SmbException { Encdec.enc_floatbe(v, this.tmp, 0); write(this.tmp, 0, 4); } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
// SMB_HEADER is {0xFF, 'S', 'M', 'B'} byte[] expectedHeader = { (byte) 0xFF, (byte) 'S', (byte) 'M', (byte) 'B' }; assertArrayEquals(expectedHeader, java.util.Arrays.copyOfRange(buffer, 0, 4)); assertEquals(0, buffer[SmbConstants.CMD_OFFSET]); } @Test @DisplayName("Test encode with signature") void testEncodeWithSignature() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
assertThat(multimap.get("foo")).containsExactly(1, 3, 7).inOrder(); assertThat(multimap.get("google")).containsExactly(2, 6).inOrder(); assertThat(multimap.get("tree")).containsExactly(0, 4).inOrder(); } public void testOrderedKeySet() { TreeMultimap<String, Integer> multimap = createPopulate(); assertThat(multimap.keySet()).containsExactly("foo", "google", "tree").inOrder(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
void testDecode() { byte[] buffer = new byte[1024]; // Fill with basic SMB header structure System.arraycopy(new byte[] { (byte) 0xFF, 'S', 'M', 'B' }, 0, buffer, 0, 4); buffer[4] = 1; // wordCount buffer[7] = 0; // byteCount low buffer[8] = 0; // byteCount high assertDoesNotThrow(() -> response.decode(buffer, 0)); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} final int n = req.encode(this.sbuf, 4); Encdec.enc_uint32be(n & 0xFFFF, this.sbuf, 0); /* 4 byte ssn msg header */ if (log.isTraceEnabled()) { log.trace(req.toString()); log.trace(Hexdump.toHexString(this.sbuf, 4, n)); } this.out.write(this.sbuf, 0, 4 + n); this.out.flush(); log.trace("Wrote negotiate request"); return n; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
ImmutableSortedMap<Integer, Integer> empty = ImmutableSortedMap.of(); assertEquals(map, Maps.subMap(map, Range.closed(0, 12))); assertEquals(ImmutableSortedMap.of(2, 0, 4, 0), Maps.subMap(map, Range.closed(0, 4))); assertEquals(ImmutableSortedMap.of(2, 0, 4, 0, 6, 0), Maps.subMap(map, Range.closed(2, 6))); assertEquals(ImmutableSortedMap.of(4, 0, 6, 0), Maps.subMap(map, Range.closed(3, 7)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
} for (String module : parent.getModules()) { module = module.replace('\\', '/'); if (module.regionMatches(true, module.length() - 4, ".xml", 0, 4)) { module = module.substring(0, module.lastIndexOf('/') + 1); } String moduleName = module; if (moduleName.endsWith("/")) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 13.4K bytes - Click Count (0)