Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for HashTable (0.14 sec)

  1. guava/src/com/google/common/collect/RegularImmutableMultiset.java

      @Override
      public int count(@CheckForNull Object element) {
        @Nullable ImmutableEntry<?>[] hashTable = this.hashTable;
        if (element == null || hashTable.length == 0) {
          return 0;
        }
        int hash = Hashing.smearedHash(element);
        int mask = hashTable.length - 1;
        for (ImmutableEntry<?> entry = hashTable[hash & mask];
            entry != null;
            entry = entry.nextInBucket()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableMap.java

            }
            outI++;
          }
          return outI == n ? hashTable : new Object[] {hashTable, outI, duplicateKey};
        } else {
          /*
           * Use 32 bits per entry.
           */
          int[] hashTable = new int[tableSize];
          Arrays.fill(hashTable, ABSENT);
    
          int outI = 0;
          entries:
          for (int i = 0; i < n; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/legalize-tf-hashtables.mlir

    // RUN: tf-opt %s -split-input-file -tfl-legalize-hashtables-tf --cse | FileCheck %s
    
    // Test for case with string -> int64 hashtable.
    func.func @hashtable_string_to_int64(%arg0: tensor<i64>) -> tensor<*xi64> {
      %cst = arith.constant dense<"f"> : tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_hashtable_ops_as_args.mlir

    // RUN: tf-quant-opt %s -split-input-file -quant-lift-hashtable-ops-as-args | FileCheck %s
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 1506 : i32}, tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = [@init_all_tables]} : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 15 05:41:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

        // the textual format (on the commandline for example).
        return "quant-lift-hashtable-ops-as-args";
      }
      StringRef getDescription() const final {
        return "Lifts HashTable ops as function arguments.";
      }
    
      void runOnOperation() override;
    };
    
    // Checks if the given op is a Hashtable op.
    bool IsHashTableOp(Operation* op) {
      return llvm::isa<TF::HashTableOp, TF::HashTableV2Op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

              int index = j & mask;
              if (hashTable[index] == null) {
                hashTable[index] = e;
                break;
              }
            }
          }
          return hashTable;
        }
    
        void ensureTableCapacity(int minCapacity) {
          int newTableSize;
          if (hashTable == null) {
            newTableSize = chooseTableSize(minCapacity);
            hashTable = new Object[newTableSize];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/BaseTypeCodecTest.kt

            }
        }
    
        @Test
        fun `can handle Hashtable`() {
            val hashtable = Hashtable<String, Any>(100)
            hashtable.put("key1", "value1")
            hashtable.put("key2", true)
            hashtable.put("key3", 42)
            configurationCacheRoundtripOf(hashtable).run {
                assertThat(hashtable, equalTo(this))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ldap/LdapUser.java

    public class LdapUser implements FessUser {
    
        private static final long serialVersionUID = 1L;
    
        protected Hashtable<String, String> env;
    
        protected String name;
    
        protected String[] permissions = null;
    
        public LdapUser(final Hashtable<String, String> env, final String name) {
            this.env = env;
            this.name = name;
        }
    
        @Override
        public String getName() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSet.java

              ImmutableSet<E> result;
              if (hashTable != null && chooseTableSize(size) == hashTable.length) {
                @Nullable
                Object[] uniqueElements =
                    shouldTrim(size, contents.length) ? Arrays.copyOf(contents, size) : contents;
                result =
                    new RegularImmutableSet<E>(
                        uniqueElements, hashCode, hashTable, hashTable.length - 1, size);
              } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            }
            fessConfig = ComponentUtil.getFessConfig();
        }
    
        protected Hashtable<String, String> createEnvironment(final String initialContextFactory, final String securityAuthentication,
                final String providerUrl, final String principal, final String credntials) {
            final Hashtable<String, String> env = new Hashtable<>();
            putEnv(env, Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 65.9K bytes
    - Viewed (0)
Back to top