Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1651 - 1660 of 1,715 for threw (0.05 sec)

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

      }
    
      @SuppressWarnings("CollectionIncompatibleType")
      private void assertEntrySetNotContainsString(Set<Entry<K, V>> entrySet) {
        // Very unlikely that a buggy collection would ever return true. It might accidentally throw.
        assertFalse(entrySet.contains("foo"));
      }
    
      /**
       * Override this to check invariants which should hold true for a particular implementation, but
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

          }
        }
    
        // Unfortunately this is pasted from ImmutableCollection.Builder.
        private static int expandedCapacity(int oldCapacity, int minCapacity) {
          if (minCapacity < 0) {
            throw new AssertionError("cannot store more than MAX_VALUE elements");
          }
          // careful of overflow!
          int newCapacity = oldCapacity + (oldCapacity >> 1) + 1;
          if (newCapacity < minCapacity) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Splitter.java

       * @param trimmer a {@link CharMatcher} that determines whether a character should be removed from
       *     the beginning/end of a subsequence
       * @return a splitter with the desired configuration
       */
      // TODO(kevinb): throw if a trimmer was already specified!
      public Splitter trimResults(CharMatcher trimmer) {
        checkNotNull(trimmer);
        return new Splitter(strategy, omitEmptyStrings, trimmer, limit);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertNoMoreLogs()
      }
    
      @Test
      fun connectFail() {
        setLevel(Level.BASIC)
        client =
          OkHttpClient.Builder()
            .dns { hostname: String? -> throw UnknownHostException("reason") }
            .addInterceptor(applicationInterceptor)
            .build()
        try {
          client.newCall(request().build()).execute()
          fail<Any>()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/LongMathTest.java

          final int k = i;
          assertTrue(LongMath.biggestSimpleBinomials[k] <= LongMath.biggestBinomials[k]);
          long unused = simpleBinomial(LongMath.biggestSimpleBinomials[k], k); // mustn't throw
          if (LongMath.biggestSimpleBinomials[k] < Integer.MAX_VALUE) {
            // unless all n are fair game with this k
            assertThrows(
                ArithmeticException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  6. cmd/object_api_suite_test.go

    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	if len(buckets) != 2 {
    		t.Errorf("%s: Expected number of bucket to be `%d`, but instead found `%d`", instanceType, 2, len(buckets))
    	}
    
    	// add three and test exists + prefix.
    	err = obj.MakeBucket(context.Background(), "bucket22", MakeBucketOptions{})
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  7. cmd/xl-storage_test.go

    			destVol:     "dest-vol",
    			srcPath:     "file4",
    			destPath:    "file-three",
    			expectedErr: nil,
    		},
    		// TestXLStorage case - 6.
    		// TestXLStorage case with non-existent source file.
    		{
    			srcVol:      "src-vol",
    			destVol:     "dest-vol",
    			srcPath:     "non-existent-file",
    			destPath:    "file-three",
    			expectedErr: errFileNotFound,
    		},
    		// TestXLStorage case - 7.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  8. src/main/webapp/css/admin/font-awesome.min.css

    basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-battle-net:before{content:"\f835"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-b...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 14 21:22:25 UTC 2019
    - 55.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/CharMatcherTest.java

        tester.testAllPublicInstanceMethods(CharMatcher.anyOf("abc"));
      }
    
      private static final CharMatcher WHATEVER =
          new CharMatcher() {
            @Override
            public boolean matches(char c) {
              throw new AssertionFailedError("You weren't supposed to actually invoke me!");
            }
          };
    
      public void testAnyAndNone_logicalOps() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/popper.min.js

    (){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},oe))}},re=te&&!!(window.MSInputMethodContext&&document.documentMode),pe=te&&/MSIE 10/.test(navigator.userAgent),se=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},de=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,n){return...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top