Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 544 for entropy (0.17 sec)

  1. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            }
    
            // Simple heuristic based on data entropy
            // In practice, this would be more sophisticated
            int uniqueBytes = countUniqueBytes(data);
            double entropy = (double) uniqueBytes / 256.0;
    
            // Estimate compression ratio based on entropy
            // Lower entropy = better compression
            return 0.3 + (entropy * 0.6); // Range from 30% to 90%
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                uniqueCounters.add(bytesToHex(counter));
            }
    
            // All nonces should be unique (high entropy from SecureRandom)
            assertEquals(sampleSize, uniqueCounters.size(), "All nonces should have unique values");
    
            // Verify that nonces have good entropy (not predictable)
            // With SecureRandom + counter XOR, they should all be different
            Set<String> uniqueNonces = new HashSet<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  3. RELEASE.md

            `tf.initializers = tf.keras.initializers` & `tf.optimizers =
            tf.keras.optimizers`.
        *   Updates binary cross entropy logic in Keras when input is probabilities.
            Instead of converting probabilities to logits, we are using the cross
            entropy formula for probabilities.
        *   Added public APIs for `cumsum` and `cumprod` keras backend functions.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (1)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          int expectedEntrySetHash = 0;
          for (Entry<K, V> entry : entrySet) {
            assertTrue(map.containsKey(entry.getKey()));
            assertTrue(map.containsValue(entry.getValue()));
            int expectedHash =
                (entry.getKey() == null ? 0 : entry.getKey().hashCode())
                    ^ (entry.getValue() == null ? 0 : entry.getValue().hashCode());
            assertEquals(expectedHash, entry.hashCode());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

        }
    
        /**
         * Get cache entry for a directory
         *
         * @param directoryPath directory path
         * @return cache entry or null
         */
        public DirectoryCacheEntry getCacheEntry(String directoryPath) {
            DirectoryCacheEntry entry = directoryCache.get(directoryPath);
    
            // Check if cache entry is valid
            if (entry != null && entry.needsRefresh()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

            private final Entry<K, V> entry;
    
            private Map1(K key, V value) {
                this.entry = new SimpleImmutableEntry<>(key, value);
            }
    
            @Override
            public Set<Entry<K, V>> entrySet() {
                return new AbstractImmutableSet<>() {
                    @Override
                    public Iterator<Entry<K, V>> iterator() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 07 11:47:42 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/AbstractSortedMultiset.java

      public @Nullable Entry<E> pollFirstEntry() {
        Iterator<Entry<E>> entryIterator = entryIterator();
        if (entryIterator.hasNext()) {
          Entry<E> result = entryIterator.next();
          result = Multisets.immutableEntry(result.getElement(), result.getCount());
          entryIterator.remove();
          return result;
        }
        return null;
      }
    
      @Override
      public @Nullable Entry<E> pollLastEntry() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ldap/LdapManager.java

        /**
         * Adds user attributes to the LDAP entry for user creation.
         *
         * @param entry the BasicAttributes to add user attributes to
         * @param user the user object containing attribute values
         */
        protected void addUserAttributes(final BasicAttributes entry, final User user) {
            entry.put(new BasicAttribute("cn", user.getName()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  9. cmd/metacache-set.go

    func (o *listPathOptions) shouldSkip(ctx context.Context, entry metaCacheEntry) (yes bool) {
    	if !o.IncludeDirectories && (entry.isDir() || (!o.Versioned && entry.isObjectDir() && entry.isLatestDeletemarker())) {
    		return true
    	}
    	if o.Marker != "" && entry.name < o.Marker {
    		return true
    	}
    	if !strings.HasPrefix(entry.name, o.Prefix) {
    		return true
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        /**
         * construct a single vertex
         */
        public MetadataGraph(MetadataGraphVertex entry) throws MetadataResolutionException {
            checkVertex(entry);
            checkVertices(1);
    
            entry.setCompareVersion(versionedVertices);
            entry.setCompareScope(scopedVertices);
    
            vertices.add(entry);
            this.entry = entry;
        }
        // ------------------------------------------------------------------------
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top