Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Hise (0.17 sec)

  1. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      public void testNoProviders() {
        ProviderList providers = Providers.getProviderList();
        Providers.setProviderList(ProviderList.newList());
        try {
          Hashing.hmacMd5(MD5_KEY);
          fail("expected ISE");
        } catch (IllegalStateException expected) {
        } finally {
          Providers.setProviderList(providers);
        }
      }
    
      public void testMultipleUpdates() throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        assertEquals("google.com", InternetDomainName.from("www.google.com").parent().toString());
    
        try {
          InternetDomainName.from("com").parent();
          fail("'com' should throw ISE on .parent() call");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testChild() {
        InternetDomainName domain = InternetDomainName.from("foo.com");
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      }
    
      /**
       * Catches a bug where when constructing a service manager failed, later interactions with the
       * service could cause IllegalStateExceptions inside the partially constructed ServiceManager.
       * This ISE wouldn't actually bubble up but would get logged by ExecutionQueue. This obfuscated
       * the original error (which was not constructing ServiceManager correctly).
       */
      public void testPartiallyConstructedManager() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            if (stackWithLastReturnedElementAtTop == null) {
              throw PermittedMetaException.UOE_OR_ISE;
            } else {
              throw PermittedMetaException.UOE;
            }
          } else if (stackWithLastReturnedElementAtTop == null) {
            throw PermittedMetaException.ISE;
          }
        }
    
        private List<E> getElements() {
          List<E> elements = new ArrayList<>();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      public void testNoProviders() {
        ProviderList providers = Providers.getProviderList();
        Providers.setProviderList(ProviderList.newList());
        try {
          Hashing.hmacMd5(MD5_KEY);
          fail("expected ISE");
        } catch (IllegalStateException expected) {
        } finally {
          Providers.setProviderList(providers);
        }
      }
    
      public void testMultipleUpdates() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        assertEquals("google.com", InternetDomainName.from("www.google.com").parent().toString());
    
        try {
          InternetDomainName.from("com").parent();
          fail("'com' should throw ISE on .parent() call");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testChild() {
        InternetDomainName domain = InternetDomainName.from("foo.com");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

       *
       * <p>This is designed for generating persistent fingerprints of strings. It isn't
       * cryptographically secure, but it produces a high-quality hash with few collisions. Fingerprints
       * generated using this are byte-wise identical to those created using the C++ version, but note
       * that this uses unsigned integers (see {@link com.google.common.primitives.UnsignedInts}).
       * Comparisons between the two should take this into account.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            if (stackWithLastReturnedElementAtTop == null) {
              throw PermittedMetaException.UOE_OR_ISE;
            } else {
              throw PermittedMetaException.UOE;
            }
          } else if (stackWithLastReturnedElementAtTop == null) {
            throw PermittedMetaException.ISE;
          }
        }
    
        private List<E> getElements() {
          List<E> elements = new ArrayList<>();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                case 0:
                    if ( in[ i ] != '/' ) {
                        // Checked exception (e.g. MalformedURLException) would be better
                        // but this would be a nightmare API wise
                        throw new RuntimeCIFSException("Invalid smb: URL: " + this.url);
                    }
                    out[ prefixLen++ ] = in[ i ];
                    state = 1;
                    break;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:24:53 GMT 2019
    - 23.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      }
    
      /**
       * Catches a bug where when constructing a service manager failed, later interactions with the
       * service could cause IllegalStateExceptions inside the partially constructed ServiceManager.
       * This ISE wouldn't actually bubble up but would get logged by ExecutionQueue. This obfuscated
       * the original error (which was not constructing ServiceManager correctly).
       */
      public void testPartiallyConstructedManager() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
Back to top