Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 2,475 for 2$ (0.03 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

        assertEquals(3, entry.getCount());
        assertTrue(getMultiset().remove(e0()));
        assertEquals(2, entry.getCount());
        assertTrue(getMultiset().elementSet().remove(e0()));
        assertEquals(0, entry.getCount());
        getMultiset().add(e0(), 2);
        assertEquals(2, entry.getCount());
      }
    
      public void testToString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. cmd/signature-v2.go

    func doesPresignV2SignatureMatch(r *http.Request) APIErrorCode {
    	// r.RequestURI will have raw encoded URI as sent by the client.
    	tokens := strings.SplitN(r.RequestURI, "?", 2)
    	encodedResource := tokens[0]
    	encodedQuery := ""
    	if len(tokens) == 2 {
    		encodedQuery = tokens[1]
    	}
    
    	var (
    		filteredQueries []string
    		gotSignature    string
    		expires         string
    		accessKey       string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. cmd/object-api-errors.go

    			apiErr.Bucket = params[0]
    		}
    		if len(params) >= 2 {
    			apiErr.Object = decodeDirObject(params[1])
    		}
    		if len(params) >= 3 {
    			apiErr.VersionID = params[2]
    		}
    		return apiErr
    	case errMethodNotAllowed.Error():
    		apiErr := MethodNotAllowed{}
    		if len(params) >= 1 {
    			apiErr.Bucket = params[0]
    		}
    		if len(params) >= 2 {
    			apiErr.Object = decodeDirObject(params[1])
    		}
    		return apiErr
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  4. cmd/signature-v4-parser_test.go

    		expectedErrCode  APIErrorCode
    	}{
    		// Test case - 1.
    		// SignElement doesn't have 2 parts on an attempt to split at '='.
    		// ErrMissingFields expected.
    		{
    			inputSignElement: "Signature",
    			expectedSignStr:  "",
    			expectedErrCode:  ErrMissingFields,
    		},
    		// Test case - 2.
    		// SignElement does have 2 parts but doesn't have valid signature value.
    		// ErrMissingFields expected.
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/StringsTest.java

        assertSame("xx", Strings.padStart("xx", 0, '-'));
        assertSame("xx", Strings.padStart("xx", 2, '-'));
      }
    
      public void testPadStart_somePadding() {
        assertEquals("-", Strings.padStart("", 1, '-'));
        assertEquals("--", Strings.padStart("", 2, '-'));
        assertEquals("-x", Strings.padStart("x", 2, '-'));
        assertEquals("--x", Strings.padStart("x", 3, '-'));
        assertEquals("-xx", Strings.padStart("xx", 3, '-'));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            m.remove("2");
            System.out.println("remove after:" + m);
            assertThat(m.containsKey("2"), is(not(true)));
            assertThat(m.containsKey("1"), is(true));
            assertThat(m.get("1"), is("d"));
            assertThat(m.get("2"), is(nullValue()));
            assertThat(m.getAt(0), is("d"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPutAll() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    				Transition: Transition{
    					Days:         TransitionDays(3),
    					StorageClass: "TIER-1",
    				},
    			},
    			{
    				ID:     "rule-2",
    				Status: "Enabled",
    				NoncurrentVersionTransition: NoncurrentVersionTransition{
    					NoncurrentDays: TransitionDays(3),
    					StorageClass:   "TIER-2",
    				},
    			},
    		},
    	}
    
    	now := time.Now().UTC()
    
    	obj1 := ObjectOpts{
    		Name:     "obj1",
    		IsLatest: true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheLoaderTest.java

        Map<Object, Object> unused4 = asyncReloader.loadAll(ImmutableList.of(new Object()));
        assertEquals(2, loadCount.get());
        assertEquals(1, reloadCount.get());
        assertEquals(2, loadAllCount.get());
    
        executor.runNext();
        assertEquals(2, loadCount.get());
        assertEquals(2, reloadCount.get());
        assertEquals(2, loadAllCount.get());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

     */
    class OneLineLogFormat : Formatter() {
      private val d =
        DateTimeFormatterBuilder()
          .appendValue(HOUR_OF_DAY, 2)
          .appendLiteral(':')
          .appendValue(MINUTE_OF_HOUR, 2)
          .optionalStart()
          .appendLiteral(':')
          .appendValue(SECOND_OF_MINUTE, 2)
          .optionalStart()
          .appendFraction(NANO_OF_SECOND, 3, 3, true)
          .toFormatter()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. docs/bucket/replication/sio-error.sh

    killall -9 minio || true
    
    rm -rf /tmp/xl/
    mkdir -p /tmp/xl/1/ /tmp/xl/2/
    
    export MINIO_KMS_SECRET_KEY="my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw="
    
    NODES=4
    
    args1=()
    args2=()
    for i in $(seq 1 $NODES); do
    	args1+=("http://localhost:$((9000 + i))/tmp/xl/1/$i ")
    	args2+=("http://localhost:$((9100 + i))/tmp/xl/2/$i ")
    done
    
    for i in $(seq 1 $NODES); do
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top