Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 540 for putA (0.01 sec)

  1. internal/grid/types.go

    		return make([]T, 0, sz)
    	}
    	t2 := *t
    	return t2[:0]
    }
    
    func (p *ArrayOf[T]) putA(v []T) {
    	var zero T // nil
    	for i, t := range v {
    		//nolint:staticcheck // SA6002 IT IS A GENERIC VALUE!
    		p.ePool.Put(t)
    		v[i] = zero
    	}
    	if v != nil {
    		v = v[:0]
    		p.aPool.Put(&v)
    	}
    }
    
    func (p *ArrayOf[T]) newE() T {
    	return p.ePool.Get()
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                    }
                    dataMap.put(key, values);
                } else {
                    final Object[] values = Arrays.copyOf(oldValues, oldValues.length + 1);
                    values[values.length - 1] = value;
                    dataMap.put(key, values);
                }
            }
        }
    
        /**
         * Puts data into the result data map after processing it through a template script.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. internal/store/queuestore_test.go

    	if err != nil {
    		t.Fatal("Failed to create a queue store ", err)
    	}
    	for range 5 {
    		if _, err := store.Put(testItem); err != nil {
    			t.Fatal("Failed to put to queue store ", err)
    		}
    	}
    	// Should not allow 6th Put.
    	if _, err := store.Put(testItem); err == nil {
    		t.Fatalf("Expected to fail with %s, but passes", errLimitExceeded)
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                return data;
            } catch (final MessagingException e) {
                throw new ExtractException(e);
            }
        }
    
        /**
         * Puts a value into the extract data with appropriate type conversion.
         *
         * @param data the extract data to store the value in
         * @param key the key for the value
         * @param value the value to store
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/HashBiMap.java

        return (entry == ABSENT) ? null : keys[entry];
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V put(@ParametricNullness K key, @ParametricNullness V value) {
        return put(key, value, false);
      }
    
      private @Nullable V put(@ParametricNullness K key, @ParametricNullness V value, boolean force) {
        int keyHash = Hashing.smearedHash(key);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 14:46:34 UTC 2025
    - 37.1K bytes
    - Viewed (0)
  6. docs/en/docs/python-types.md

    #### List { #list }
    
    For example, let's define a variable to be a `list` of `str`.
    
    Declare the variable, with the same colon (`:`) syntax.
    
    As the type, put `list`.
    
    As the list is a type that contains some internal types, you put them in square brackets:
    
    {* ../../docs_src/python_types/tutorial006_py39.py hl[1] *}
    
    /// info
    
    Those internal types in the square brackets are called "type parameters".
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

            map.put("ト", new String[] { "to" });
    
            map.put("ナ", new String[] { "na" });
            map.put("ニ", new String[] { "ni" });
            map.put("ヌ", new String[] { "nu" });
            map.put("ネ", new String[] { "ne" });
            map.put("ノ", new String[] { "no" });
    
            map.put("ハ", new String[] { "ha" });
            map.put("ヒ", new String[] { "hi" });
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      /** Guard for waiting takes */
      private final Monitor.Guard notEmpty;
    
      /** Guard for waiting puts */
      private final Monitor.Guard notFull;
    
      // Internal helper methods
    
      /** Circularly increment i. */
      final int inc(int i) {
        return (++i == items.length) ? 0 : i;
      }
    
      /**
       * Inserts element at current put position, advances, and signals. Call only when occupying
       * monitor.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    }
                }
    
                // Pre-store the checksums as any future puts will overwrite them
                for (String extension : checksums.keySet()) {
                    ChecksumObserver observer = checksums.get(extension);
                    sums.put(extension, observer.getActualChecksum());
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              // primitives
              .put(Object.class, "")
              .put(Number.class, 0)
              .put(UnsignedInteger.class, UnsignedInteger.ZERO)
              .put(UnsignedLong.class, UnsignedLong.ZERO)
              .put(BigInteger.class, BigInteger.ZERO)
              .put(BigDecimal.class, BigDecimal.ZERO)
              .put(CharSequence.class, "")
              .put(String.class, "")
              .put(Pattern.class, Pattern.compile(""))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top