Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for gahbcd (0.95 sec)

  1. src/bufio/bufio_test.go

    	buf = NewReaderSize(dataAndEOFReader("abcd"), 32)
    	if s, err := buf.Peek(2); string(s) != "ab" || err != nil {
    		t.Errorf(`Peek(2) on "abcd", EOF = %q, %v; want "ab", nil`, string(s), err)
    	}
    	if s, err := buf.Peek(4); string(s) != "abcd" || err != nil {
    		t.Errorf(`Peek(4) on "abcd", EOF = %q, %v; want "abcd", nil`, string(s), err)
    	}
    	if n, err := buf.Read(p[0:5]); string(p[0:n]) != "abcd" || err != nil {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/samr.idl

    [
    	uuid(12345778-1234-abcd-ef00-0123456789ac),
    	version(1.0)
    ]
    interface samr
    {
    	import "../rpc.idl";
    	import "lsarpc.idl";
    
    	typedef [v1_enum] enum {
    		ACB_DISABLED               = 0x00000001, /* 1 = User account disabled */
    		ACB_HOMDIRREQ              = 0x00000002, /* 1 = Home directory required */
    		ACB_PWNOTREQ               = 0x00000004, /* 1 = User password not required */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

              url = server.url("/page1"),
              body = transferKind.newRequestBody("ABCD"),
            ),
          )
        assertThat(readAscii(response.body.byteStream(), Int.MAX_VALUE))
          .isEqualTo("Page 2")
        val page1 = server.takeRequest()
        assertThat(page1.requestLine).isEqualTo("POST /page1 HTTP/1.1")
        assertThat(page1.body?.utf8()).isEqualTo("ABCD")
        val page2 = server.takeRequest()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

        val response = newResponse(responseBody("abcdef"))
        val p1 = response.peekBody(4)
        val p2 = response.peekBody(2)
        assertThat(response.body.string()).isEqualTo("abcdef")
        assertThat(p1.string()).isEqualTo("abcd")
        assertThat(p2.string()).isEqualTo("ab")
      }
    
      @Test fun negativeStatusCodeThrowsIllegalStateException() {
        assertFailsWith<IllegalStateException> {
          newResponse(responseBody("set status code -1"), -1)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

            // Test case 1: Standard padding
            final byte[] data1 = "abc".getBytes();
            assertEquals("YWJj", Base64Util.encode(data1));
    
            // Test case 2: Single padding
            final byte[] data2 = "abcd".getBytes();
            assertEquals("YWJjZA==", Base64Util.encode(data2));
    
            // Test case 3: Double padding
            final byte[] data3 = "abcde".getBytes();
            assertEquals("YWJjZGU=", Base64Util.encode(data3));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/UniAddressTest.java

            // Assert
            assertTrue(result, "isDotQuadIP should return true for dot-quad IP");
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "192.168.0", "abcd", "192.168" })
        void isDotQuadIPRejectsNonDotQuad(String value) {
            assertFalse(UniAddress.isDotQuadIP(value), "isDotQuadIP should return false for non IP-like values");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/archive/tar/writer_test.go

    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{4, "abcd"}, sparseHoles{{2, 3}}, 8},
    		tests: []testFnc{
    			testReadFrom{fileOps{"ab", int64(3), "cd"}, 7, io.ErrUnexpectedEOF},
    			testRemaining{1, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{4, "abcd"}, sparseHoles{{2, 3}}, 8},
    		tests: []testFnc{
    			testReadFrom{fileOps{"ab", int64(3), "cde"}, 7, errMissData},
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon Dec 15 16:34:13 UTC 2025
    - 40.2K bytes
    - Viewed (0)
  8. internal/ioutil/ioutil_test.go

    		t.Error("DeadlineWriter shouldn't be successful - should return context.DeadlineExceeded")
    	}
    	w.Close()
    	w = NewDeadlineWriter(&sleepWriter{timeout: 100 * time.Millisecond}, 600*time.Millisecond)
    	n, err := w.Write([]byte("abcd"))
    	w.Close()
    	if err != nil {
    		t.Errorf("DeadlineWriter should succeed but failed with %s", err)
    	}
    	if n != 4 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        assertTrue(emptyConcat.isEmpty());
      }
    
      public void testConcat_infiniteIterable() throws IOException {
        CharSource source = CharSource.wrap("abcd");
        Iterable<CharSource> cycle = Iterables.cycle(ImmutableList.of(source));
        CharSource concatenated = CharSource.concat(cycle);
    
        String expected = "abcdabcd";
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    		},
    		// Empty filename name. - 11
    		{
    			volume, "", 14, 1, nil, errIsNotRegular,
    		},
    		// Non existent volume name - 12
    		{
    			"abcd", "", 14, 1, nil, errVolumeNotFound,
    		},
    		// Non existent filename - 13
    		{
    			volume, "abcd", 14, 1, nil, errFileNotFound,
    		},
    	}
    
    	// Create all files needed during testing.
    	appendFiles := testCases[:4]
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
Back to top