- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 50 for NB (0.01 seconds)
-
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
* @param idx the index position for the derived buffer * @return the derived NdrBuffer */ public NdrBuffer derive(final int idx) { final NdrBuffer nb = new NdrBuffer(buf, start); nb.index = idx; nb.deferred = deferred; return nb; } /** * Resets the buffer position to the start. */ public void reset() { this.index = start; length = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.4K bytes - Click Count (0) -
src/bufio/bufio_test.go
s += s1 } return s } // Call Read to accumulate the text of a file func reads(buf *Reader, m int) string { var b [1000]byte nb := 0 for { n, err := buf.Read(b[nb : nb+m]) nb += n if err == io.EOF { break } } return string(b[0:nb]) } type bufReader struct { name string fn func(*Reader) string } var bufreaders = []bufReader{
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java
assertTrue(getMap().inverse().containsKey(null)); assertNull(getMap().get(k1())); assertEquals(k1(), getMap().inverse().get(null)); assertEquals(1, getMap().size()); } // nb: inverse is run through its own entire suite @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(ZERO) public void testInversePut() { getMap().put(k0(), v0()); getMap().inverse().put(v1(), k1());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
assertEquals((byte) NameServicePacket.NB, dst[11]); // questionType low byte assertEquals((byte) 0x00, dst[12]); // questionClass high byte assertEquals((byte) NameServicePacket.IN, dst[13]); // questionClass low byte } @Test void testReadQuestionSectionWireFormat() { byte[] src = new byte[20]; NameServicePacket.writeInt2(NameServicePacket.NB, src, 10); // Mock type
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
assertThat(parse(url, "a= ")!!.value).isEqualTo("") assertThat(parse(url, "a= b")!!.value).isEqualTo("b") assertThat(parse(url, "a=b ")!!.value).isEqualTo("b") assertThat(parse(url, "a=\r\t \nb\n\t \n")!!.value).isEqualTo("b") } @Test fun invalidCharacters() { assertThat(parse(url, "a\u0000b=cd")).isNull() assertThat(parse(url, "ab=c\u0000d")).isNull()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 24.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
src[srcIndex] = (byte) 0xC0; src[srcIndex + 1] = 0x0C; // Pointer offset // recordType (2 bytes) src[srcIndex + 2] = 0x00; src[srcIndex + 3] = 0x20; // NB (0x0020) // recordClass (2 bytes) src[srcIndex + 4] = 0x00; src[srcIndex + 5] = 0x01; // IN (0x0001) // ttl (4 bytes) src[srcIndex + 6] = 0x00; src[srcIndex + 7] = 0x00;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SSPContextTest.java
when(mockCtx.isEstablished()).thenReturn(true); when(mockCtx.initSecContext(any(byte[].class), anyInt(), anyInt())).thenReturn(new byte[] { 9 }); when(mockCtx.getNetbiosName()).thenReturn("NB"); when(mockCtx.isSupported(any())).thenReturn(true); when(mockCtx.isPreferredMech(any())).thenReturn(false); when(mockCtx.getFlags()).thenReturn(123);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
src/bytes/bytes.go
if chunkMax > chunkLimit { chunkMax = chunkLimit / len(b) * len(b) if chunkMax == 0 { chunkMax = len(b) } } nb := bytealg.MakeNoZero(n)[:n:n] bp := copy(nb, b) for bp < n { chunk := min(bp, chunkMax) bp += copy(nb[bp:], nb[:chunk]) } return nb } // ToUpper returns a copy of the byte slice s with all Unicode letters mapped to // their upper case. func ToUpper(s []byte) []byte {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Mar 12 17:56:55 GMT 2026 - 36.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
String[] inputs = { "a", "b", "c" }; CharMappingItem item = new CharMappingItem(1L, inputs, "output"); String inputsValue = item.getInputsValue(); assertEquals("a\nb\nc", inputsValue); } @Test public void test_getInputsValue_withSingleInput() { // Test with single input String[] inputs = { "single" };
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16K bytes - Click Count (0) -
gradlew
fi # Roll the args list around exactly as many times as the number of # args, so each arg winds up back in the position where it started, but # possibly modified. # # NB: a `for` loop captures its iteration list before it begins, so # changing the positional parameters here affects neither the number of # iterations, nor the values presented in `arg`.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 08:59:10 GMT 2026 - 8.5K bytes - Click Count (0)