Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for threshold (0.08 sec)

  1. android/guava/src/com/google/common/collect/TopKSelector.java

          // uncheckedCastNullableTToT is safe because bufferSize > 0.
          if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) > 0) {
            threshold = elem;
          }
          // uncheckedCastNullableTToT is safe because bufferSize > 0.
        } else if (comparator.compare(elem, uncheckedCastNullableTToT(threshold)) < 0) {
          // Otherwise, we can ignore elem; we've seen k better elements.
          buffer[bufferSize++] = elem;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        int chunk2 = dataSize - chunk1;
    
        // Write just enough to not trip the threshold
        if (chunk1 > 0) {
          write(out, data, 0, chunk1, singleByte);
          assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source));
        }
        File file = out.getFile();
        assertNull(file);
    
        // Write data to go over the threshold
        if (chunk2 > 0) {
          if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLoggerManager.java

         */
        public int getThreshold() {
            return 0;
        }
    
        /**
         * <b>Warning</b>: ignored.
         */
        public void setThreshold(int threshold) {}
    
        /**
         * <b>Warning</b>: ignored.
         */
        public void setThresholds(int threshold) {}
    
        /**
         * <b>Warning</b>: ignored (always return <code>0</code>).
         */
        public int getActiveLoggerCount() {
            return 0;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. istioctl/pkg/analyze/analyze.go

    						parseErrors,
    						fileOrFiles,
    					)
    				}
    			}
    
    			// Return code is based on the unfiltered validation message list/parse errors
    			// We're intentionally keeping failure threshold and output threshold decoupled for now
    			var returnError error
    			if msgOutputFormat == formatting.LogFormat {
    				returnError = errorIfMessagesExceedThreshold(result.Messages)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jLogger.java

         */
        public int getThreshold() {
            return 0;
        }
    
        /**
         * <b>Warning</b>: ignored.
         */
        public void setThreshold(int threshold) {}
    
        /**
         * <b>Warning</b>: ignored (always return <code>null</code>).
         */
        public Logger getChildLogger(String name) {
            return null;
        }
    
        public String getName() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * (usually) must retry.
         */
        int modCount;
    
        /**
         * The table is expanded when its size exceeds this threshold. (The value of this field is
         * always {@code (int) (capacity * 0.75)}.)
         */
        int threshold;
    
        /** The per-segment table. */
        @CheckForNull volatile AtomicReferenceArray<E> table;
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

        }
    
        public SuggestDeleteResponse deleteOldWords(final ZonedDateTime threshold) {
            final long start = System.currentTimeMillis();
            final String query = FieldNames.TIMESTAMP + ":[* TO " + threshold.toInstant().toEpochMilli() + "] NOT " + FieldNames.KINDS + ':'
                    + SuggestItem.Kind.USER;
            deleteByQuery(query);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/MapMakerInternalMap.java

         * (usually) must retry.
         */
        int modCount;
    
        /**
         * The table is expanded when its size exceeds this threshold. (The value of this field is
         * always {@code (int) (capacity * 0.75)}.)
         */
        int threshold;
    
        /** The per-segment table. */
        @CheckForNull volatile AtomicReferenceArray<E> table;
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

        }
    
        void initTable(AtomicReferenceArray<ReferenceEntry<K, V>> newTable) {
          this.threshold = newTable.length() * 3 / 4; // 0.75
          if (!map.customWeigher() && this.threshold == maxSegmentWeight) {
            // prevent spurious expansion before eviction
            this.threshold++;
          }
          this.table = newTable;
        }
    
        @GuardedBy("this")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

          // meant that sometimes a too-large threshold is calculated. However, this new threshold is
          // independent of the initial capacity, except that it won't be lower than the threshold
          // computed from that capacity. Because the internal table is only allocated on the first
          // write, we won't see copying because of the new threshold. So it is always OK to use the
          // calculation here.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
Back to top