Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 426 for add_s (0.03 seconds)

  1. tensorflow/c/checkpoint_reader.cc

                        string(v2_reader_->key()) /* full var's name */,
                        TensorSlice(slice_proto)))
                    .second);
        }
      }
    
      // Second pass: adds the entries, ignoring the filtered keys.
      std::unique_ptr<TensorSliceReader::VarToShapeMap> var_to_shape_map(
          new TensorSliceReader::VarToShapeMap);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 17 18:49:14 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  2. internal/store/batch.go

    	sync.Mutex
    }
    
    // BatchConfig represents the batch config
    type BatchConfig[I any] struct {
    	Limit         uint32
    	Store         Store[I]
    	CommitTimeout time.Duration
    	Log           logger
    }
    
    // Add adds the item to the batch
    func (b *Batch[I]) Add(item I) error {
    	b.Lock()
    	defer b.Unlock()
    
    	if b.isFull() {
    		if b.store == nil {
    			return ErrBatchFull
    		}
    		// commit batch to store
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/DuplicateHostHelper.java

         */
        public void setDuplicateHostList(final List<DuplicateHost> duplicateHostList) {
            this.duplicateHostList = duplicateHostList;
        }
    
        /**
         * Adds a new duplicate host rule to the list.
         * Initializes the list if it doesn't exist.
         *
         * @param duplicateHost the duplicate host rule to add
         */
        public void add(final DuplicateHost duplicateHost) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableSet.java

        Builder(int capacity, boolean makeHashTable) {
          super(capacity);
          if (makeHashTable) {
            this.hashTable = new @Nullable Object[chooseTableSize(capacity)];
          }
        }
    
        /**
         * Adds {@code element} to the {@code ImmutableSet}. If the {@code ImmutableSet} already
         * contains {@code element}, then {@code add} has no effect (only the previously added element
         * is retained).
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Oct 11 14:54:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

            try {
                return ps.executeBatch();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Adds a batch.
         *
         * @param ps
         *            {@link PreparedStatement}. Must not be {@literal null}.
         * @throws SQLRuntimeException
         *             If a {@link SQLException} occurs.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

            if (resultList.size() > maxReadingNum) {
                return resultList.subList(0, maxReadingNum);
            }
            return resultList;
        }
    
        /**
         * Adds a converter to the chain.
         * @param converter The converter to add.
         */
        public void addConverter(final ReadingConverter converter) {
            converters.add(converter);
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Wed Dec 31 05:38:07 GMT 2025
    - 3.8K bytes
    - Click Count (1)
  7. internal/lru/lru.go

    			c.onEvict(k, v.Value)
    		}
    		delete(c.items, k)
    	}
    	for _, b := range c.buckets {
    		for _, ent := range b.entries {
    			delete(b.entries, ent.Key)
    		}
    	}
    	c.evictList.Init()
    }
    
    // Add adds a value to the cache. Returns true if an eviction occurred.
    // Returns false if there was no eviction: the item was already in the cache,
    // or the size was not exceeded.
    func (c *LRU[K, V]) Add(key K, value V) (evicted bool) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

         * @param id The identifier of the profile.
         */
        public void deactivateOptionalProfile(String id) {
            this.activations.put(id, ActivationSettings.deactivatedOpt());
        }
    
        /**
         * Adds a profile activation to the request.
         * @param id The identifier of the profile.
         * @param active Should the profile be activated?
         * @param optional Can the build continue if the profile does not exist?
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. internal/config/lambda/event/targetlist.go

    	TotalRequests  int64
    	FailedRequests int64
    }
    
    // TargetList - holds list of targets indexed by target ID.
    type TargetList struct {
    	sync.RWMutex
    	targets map[TargetID]Target
    }
    
    // Add - adds unique target to target list.
    func (list *TargetList) Add(targets ...Target) error {
    	list.Lock()
    	defer list.Unlock()
    
    	for _, target := range targets {
    		if _, ok := list.targets[target.ID()]; ok {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          double prev = 0.0;
          for (double x : VALUES) {
            assertBitEquals(prev, aa.getAndSet(i, x));
            prev = x;
          }
        }
      }
    
      /** getAndAdd returns previous value and adds given value */
      public void testGetAndAdd() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          for (double x : VALUES) {
            for (double y : VALUES) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 10.8K bytes
    - Click Count (0)
Back to Top