Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for CloneNotSupportedException (1.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/util/HMACT64Test.java

            }
        }
    
        @Test
        void testCloneNotSupportedException() throws NoSuchAlgorithmException, CloneNotSupportedException {
            // Test clone() when internal MessageDigest throws CloneNotSupportedException
            try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
                mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

        this.supportsClone = supportsClone(prototype);
      }
    
      private static boolean supportsClone(MessageDigest digest) {
        try {
          Object unused = digest.clone();
          return true;
        } catch (CloneNotSupportedException e) {
          return false;
        }
      }
    
      @Override
      public int bits() {
        return bytes * Byte.SIZE;
      }
    
      @Override
      public String toString() {
        return toString;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/MacHashFunction.java

      }
    
      @Override
      public int bits() {
        return bits;
      }
    
      private static boolean supportsClone(Mac mac) {
        try {
          Object unused = mac.clone();
          return true;
        } catch (CloneNotSupportedException e) {
          return false;
        }
      }
    
      private static Mac getMac(String algorithmName, Key key) {
        try {
          Mac mac = Mac.getInstance(algorithmName);
          mac.init(key);
          return mac;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      }
    
      private static final ImmutableSet<Class<? extends Exception>> OTHER_EXCEPTION_TYPES =
          ImmutableSet.of(
              BackingStoreException.class,
              BrokenBarrierException.class,
              CloneNotSupportedException.class,
              DataFormatException.class,
              ExecutionException.class,
              GeneralSecurityException.class,
              InvalidPreferencesFormatException.class,
              KeyException.class,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SecurityBlob.java

            }
            return this.b.length;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.lang.Object#clone()
         */
        @Override
        protected Object clone() throws CloneNotSupportedException {
            return new SecurityBlob(this.b.clone());
        }
    
        /*
         * (non-Javadoc)
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

        /**
         * Creates a shallow copy of this parameter.
         */
        @Override
        public Parameter clone() {
            try {
                return (Parameter) super.clone();
            } catch (CloneNotSupportedException e) {
                throw new UnsupportedOperationException(e);
            }
        }
    
        public org.apache.maven.api.plugin.descriptor.Parameter getParameterV4() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                clone.currentProject = ThreadLocal.withInitial(() -> current);
                return clone;
            } catch (CloneNotSupportedException e) {
                throw new RuntimeException("Bug", e);
            }
        }
    
        @Deprecated
        public Date getStartTime() {
            return request.getStartTime();
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         * Creates a shallow copy of this mojo descriptor.
         */
        @Override
        public MojoDescriptor clone() {
            try {
                return (MojoDescriptor) super.clone();
            } catch (CloneNotSupportedException e) {
                throw new UnsupportedOperationException(e);
            }
        }
    
        private volatile org.apache.maven.api.plugin.descriptor.MojoDescriptor mojoDescriptorV4;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
Back to Top