Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for throw (0.17 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      public void testMethod_notDeclaredByType() throws NoSuchMethodException {
        Method sizeMethod = Map.class.getMethod("size");
        assertThrows(IllegalArgumentException.class, () -> TypeToken.of(List.class).method(sizeMethod));
      }
    
      public void testMethod_declaredBySuperclass() throws Exception {
        Method toStringMethod = Object.class.getMethod("toString");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      public void testMethod_notDeclaredByType() throws NoSuchMethodException {
        Method sizeMethod = Map.class.getMethod("size");
        assertThrows(IllegalArgumentException.class, () -> TypeToken.of(List.class).method(sizeMethod));
      }
    
      public void testMethod_declaredBySuperclass() throws Exception {
        Method toStringMethod = Object.class.getMethod("toString");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

        }
      }
    
      public void testToStringImplWithNullKeys() throws Exception {
        Map<@Nullable String, String> hashmap = Maps.newHashMap();
        hashmap.put("foo", "bar");
        hashmap.put(null, "baz");
    
        assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap));
      }
    
      public void testToStringImplWithNullValues() throws Exception {
        Map<String, @Nullable String> hashmap = Maps.newHashMap();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTest.java

        }
      }
    
      public void testToStringImplWithNullKeys() throws Exception {
        Map<@Nullable String, String> hashmap = Maps.newHashMap();
        hashmap.put("foo", "bar");
        hashmap.put(null, "baz");
    
        assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap));
      }
    
      public void testToStringImplWithNullValues() throws Exception {
        Map<String, @Nullable String> hashmap = Maps.newHashMap();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CharMatcher.java

       * are inclusive). For example, to match any lowercase letter of the English alphabet, use {@code
       * CharMatcher.inRange('a', 'z')}.
       *
       * @throws IllegalArgumentException if {@code endInclusive < startInclusive}
       */
      public static CharMatcher inRange(final char startInclusive, final char endInclusive) {
        return new InRange(startInclusive, endInclusive);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/CharMatcher.java

       * are inclusive). For example, to match any lowercase letter of the English alphabet, use {@code
       * CharMatcher.inRange('a', 'z')}.
       *
       * @throws IllegalArgumentException if {@code endInclusive < startInclusive}
       */
      public static CharMatcher inRange(final char startInclusive, final char endInclusive) {
        return new InRange(startInclusive, endInclusive);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

        // following writeObject() handles the SynchronizedObject members.
    
        @GwtIncompatible // java.io.ObjectOutputStream
        @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
          synchronized (mutex) {
            stream.defaultWriteObject();
          }
        }
    
        @GwtIncompatible // not needed in emulated source
        @J2ktIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test.cc

    REGISTER_OP("TestCommUnavailable")
        .Output("out: string")
        .SetIsDistributedCommunication()
        .Doc(R"doc(Test communication op throwing Unavailable error.)doc");
    
    // Kernel that throws an Unavailable error.
    class TestUnavailableErrorOp : public tensorflow::OpKernel {
     public:
      explicit TestUnavailableErrorOp(tensorflow::OpKernelConstruction* ctx)
          : tensorflow::OpKernel(ctx) {}
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
Back to top