- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 45 for NB (0.02 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt
} @Test fun headersToString() { val headers = Headers .Builder() .add("A", "a") .add("B", "bb") .build() assertThat(headers.toString()).isEqualTo("A: a\nB: bb\n") } @Test fun headersToStringRedactsSensitiveHeaders() { val headers = Headers .Builder() .add("content-length", "99") .add("authorization", "peanutbutter")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.7K bytes - Viewed (0) -
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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameQueryRequest.java
*/ package jcifs.smb1.netbios; class NameQueryRequest extends NameServicePacket { NameQueryRequest(final Name name) { questionName = name; questionType = NB; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return writeQuestionSectionWireFormat(dst, dstIndex); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameQueryRequest.java
class NameQueryRequest extends NameServicePacket { NameQueryRequest(final Configuration config, final Name name) { super(config); this.questionName = name; this.questionType = NB; } @Override int writeBodyWireFormat(final byte[] dst, final int dstIndex) { return writeQuestionSectionWireFormat(dst, dstIndex); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
return Stream.of(Arguments.of(",", "A,B,C"), Arguments.of(", ", "A, B, C"), Arguments.of(" ", "A B C"), Arguments.of("|", "A|B|C"), Arguments.of("::", "A::B::C"), Arguments.of("\n", "A\nB\nC"), Arguments.of("\r\n", "A\r\nB\r\nC")); } @Test @DisplayName("Should handle StringBuilder as CharSequence") void testJoinWithStringBuilder() { StringBuilder sb1 = new StringBuilder("first");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("4", "a234a", StringUtil.replace("12341", "1", "a")); assertEquals("5", "ab234abab234ab", StringUtil.replace("1234112341", "1", "ab")); assertEquals("6", "a\\nb", StringUtil.replace("a\nb", "\n", "\\n")); } /** * @throws Exception */ @Test public void testSplit() throws Exception { final String[] array = StringUtil.split("aaa\nbbb", "\n");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryRequestTest.java
NameQueryRequest request = new NameQueryRequest(mockConfig, mockName); assertNotNull(request); assertEquals(mockName, request.questionName); assertEquals(NameServicePacket.NB, request.questionType); } @Test void testWriteBodyWireFormat() { // Test that writeBodyWireFormat calls writeQuestionSectionWireFormat
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
} public void testReadLines() throws IOException { List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc")); assertEquals(ImmutableList.of("a", "b", "c"), lines); } public void testReadLines_withLineProcessor() throws IOException { String text = "a\nb\nc"; // Test a LineProcessor that always returns false. Reader r = new StringReader(text); LineProcessor<Integer> alwaysFalse =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
} public void testReadLines() throws IOException { List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc")); assertEquals(ImmutableList.of("a", "b", "c"), lines); } public void testReadLines_withLineProcessor() throws IOException { String text = "a\nb\nc"; // Test a LineProcessor that always returns false. Reader r = new StringReader(text); LineProcessor<Integer> alwaysFalse =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (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{
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 07 01:08:54 UTC 2025 - 51.6K bytes - Viewed (0)