Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 755 for have (0.14 sec)

  1. guava-tests/test/com/google/common/base/ThrowablesTest.java

          Throwables.getCausalChain(null);
          fail("Should have throw NPE");
        } catch (NullPointerException expected) {
        }
      }
    
      public void testGetCasualChainLoop() {
        Exception cause = new Exception();
        Exception exception = new Exception(cause);
        cause.initCause(exception);
        try {
          Throwables.getCausalChain(cause);
          fail("Should have throw IAE");
        } catch (IllegalArgumentException expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

          Throwables.getCausalChain(null);
          fail("Should have throw NPE");
        } catch (NullPointerException expected) {
        }
      }
    
      public void testGetCasualChainLoop() {
        Exception cause = new Exception();
        Exception exception = new Exception(cause);
        cause.initCause(exception);
        try {
          Throwables.getCausalChain(cause);
          fail("Should have throw IAE");
        } catch (IllegalArgumentException expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

      public void add(double x, double y) {
        // We extend the recursive expression for the one-variable case at Art of Computer Programming
        // vol. 2, Knuth, 4.2.2, (16) to the two-variable case. We have two value series x_i and y_i.
        // We define the arithmetic means X_n = 1/n \sum_{i=1}^n x_i, and Y_n = 1/n \sum_{i=1}^n y_i.
        // We also define the sum of the products of the differences from the means
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ValueGraph.java

       *
       * <p>Thus, two value graphs A and B are equal if <b>all</b> of the following are true:
       *
       * <ul>
       *   <li>A and B have equal {@link #isDirected() directedness}.
       *   <li>A and B have equal {@link #nodes() node sets}.
       *   <li>A and B have equal {@link #edges() edge sets}.
       *   <li>The {@link #edgeValueOrDefault(N, N, V) value} of a given edge is the same in both A and
       *       B.
       * </ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/StandardTable.java

           * - columnIterator.remove() succeeded, so it must have returned a value, so it must have been
           * initialized by next() -- which initializes rowEntry, too.
           *
           * - rowEntry isn't cleared except below. If it was cleared below, then either
           *   columnIterator.remove() would have failed above (if the user hasn't called next() since
           *   then) or rowEntry would have been initialized by next() (as discussed above).
           */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          return;
        }
        fail("should have failed");
      }
    
      public void testEqualsAndSerializableOnReturnValues_serializableButNotEquals() throws Exception {
        try {
          tester.forAllPublicStaticMethods(GoodSerializableFactory.class).testEqualsAndSerializable();
        } catch (AssertionFailedError expected) {
          return;
        }
        fail("should have failed");
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/batch/v1/generated.proto

      // fails, one of the conditions will have type "Failed" and status true. When
      // a Job is suspended, one of the conditions will have type "Suspended" and
      // status true; when the Job is resumed, the status of this condition will
      // become false. When a Job is completed, one of the conditions will have
      // type "Complete" and status true.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/lifecycle.go

    	}
    	return &lc, nil
    }
    
    // Validate - validates the lifecycle configuration
    func (lc Lifecycle) Validate() error {
    	// Lifecycle config can't have more than 1000 rules
    	if len(lc.Rules) > 1000 {
    		return errLifecycleTooManyRules
    	}
    	// Lifecycle config should have at least one rule
    	if len(lc.Rules) == 0 {
    		return errLifecycleNoRule
    	}
    
    	// Validate all the rules in the lifecycle config
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableBiMap.java

       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * @throws IllegalArgumentException if two keys have the same value or two values have the same
       *     key
       * @throws NullPointerException if any key or value in {@code map} is null
       */
      public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 22.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/PACTest.java

            return new KerberosKey(null, keybytes, etype, 0);
        }
    
    
        private static void checkBytes ( byte[] expect, byte[] have ) {
            if ( !Arrays.equals(expect, have) ) {
                Assert.fail(String.format("Expect: %s Have: %s", Hexdump.toHexString(expect), Hexdump.toHexString(have)));
            }
        }
    
    
        private static void verifyNfold ( int n, String string, String expect ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
Back to top