Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 173 for abcd (0.26 sec)

  1. internal/ioutil/ioutil_test.go

    		expected string
    	}{
    		{bytes.NewBuffer([]byte("")), 0, ""},
    		{bytes.NewBuffer([]byte("")), 1, ""},
    		{bytes.NewBuffer([]byte("abc")), 0, "abc"},
    		{bytes.NewBuffer([]byte("abc")), 1, "bc"},
    		{bytes.NewBuffer([]byte("abc")), 2, "c"},
    		{bytes.NewBuffer([]byte("abc")), 3, ""},
    		{bytes.NewBuffer([]byte("abc")), 4, ""},
    	}
    	for i, testCase := range testCases {
    		r := NewSkipReader(testCase.src, testCase.skipLen)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 02 11:02:31 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/archive/tar/writer_test.go

    		tests: []testFnc{
    			testReadFrom{fileOps{"ab", int64(3), "cde"}, 7, errMissData},
    			testRemaining{1, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{6, "abcde"}, sparseHoles{{2, 3}}, 8},
    		tests: []testFnc{
    			testReadFrom{fileOps{"ab", int64(3), "cde"}, 8, errUnrefData},
    			testRemaining{0, 1},
    		},
    	}, {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        }
        assertEquals(expected, builder.toString());
      }
    
      static final CharSource BROKEN_READ_SOURCE = new TestCharSource("ABC", READ_THROWS);
      static final CharSource BROKEN_CLOSE_SOURCE = new TestCharSource("ABC", CLOSE_THROWS);
      static final CharSource BROKEN_OPEN_SOURCE = new TestCharSource("ABC", OPEN_THROWS);
      static final CharSink BROKEN_WRITE_SINK = new TestCharSink(WRITE_THROWS);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    		// Creating sequence of parts for same uploadID.
    		{bucketName, objectName, uploadIDs[0], 1, "abcd", "e2fc714c4727ee9395f324cd2e7f331f", int64(len("abcd"))},
    		{bucketName, objectName, uploadIDs[0], 2, "efgh", "1f7690ebdd9b4caf8fab49ca1757bf27", int64(len("efgh"))},
    		{bucketName, objectName, uploadIDs[0], 3, "ijkl", "09a0877d04abf8759f99adec02baf579", int64(len("abcd"))},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/samr.java

    import jcifs.dcerpc.ndr.NdrException;
    import jcifs.dcerpc.ndr.NdrObject;
    
    
    @SuppressWarnings ( "all" )
    public class samr {
    
        public static String getSyntax () {
            return "12345778-1234-abcd-ef00-0123456789ac:1.0";
        }
    
        public static final int ACB_DISABLED = 1;
        public static final int ACB_HOMDIRREQ = 2;
        public static final int ACB_PWNOTREQ = 4;
        public static final int ACB_TEMPDUP = 8;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 15.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/RequestTest.kt

      }
    
      @Test
      fun byteArrayRange() {
        val contentType = "text/plain".toMediaType()
        val body: RequestBody = ".abcd".toByteArray().toRequestBody(contentType, 1, 3)
        assertThat(body.contentType()).isEqualTo(contentType)
        assertThat(body.contentLength()).isEqualTo(3)
        assertThat(bodyToHex(body)).isEqualTo("616263")
        assertThat(bodyToHex(body), "Retransmit body").isEqualTo("616263")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  7. 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]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

    package jcifs.smb1.dcerpc.msrpc;
    
    import jcifs.smb1.dcerpc.*;
    import jcifs.smb1.dcerpc.ndr.*;
    
    public class samr {
    
        public static String getSyntax() {
            return "12345778-1234-abcd-ef00-0123456789ac:1.0";
        }
    
        public static final int ACB_DISABLED = 1;
        public static final int ACB_HOMDIRREQ = 2;
        public static final int ACB_PWNOTREQ = 4;
        public static final int ACB_TEMPDUP = 8;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 14K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        server.enqueue(MockResponse(body = "ABCDE"))
        val call = client.newCall(Request(server.url("/foo")))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("ABCDE")
        assertThat(response.code).isEqualTo(200)
        assertThat(response.message).isEqualTo("")
        assertThat(response.protocol).isEqualTo(protocol)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

    	lc := Lifecycle{
    		Rules: []Rule{
    			{
    				ID:     "rule-1",
    				Status: "Enabled",
    				Filter: Filter{
    					Prefix: Prefix{
    						set:    true,
    						string: "abcd/",
    					},
    				},
    				Transition: Transition{
    					Days:         TransitionDays(3),
    					StorageClass: "TIER-1",
    				},
    			},
    			{
    				ID:     "rule-2",
    				Status: "Enabled",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
Back to top