Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 622 for factor (0.18 sec)

  1. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

          case UNORDERED:
            return new UndirectedGraphConnections<>(
                new HashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          case STABLE:
            return new UndirectedGraphConnections<>(
                new LinkedHashMap<N, V>(INNER_CAPACITY, INNER_LOAD_FACTOR));
          default:
            throw new AssertionError(incidentEdgeOrder.type());
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

                sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i)));
              }
              sink.close();
            } catch (IOException | InterruptedException e) {
              e.printStackTrace();
            }
          }
    
          private String factor(int n) {
            for (int i = 2; i < n; i++) {
              int x = n / i;
              if (x * i == n) return factor(x) + " × " + i;
            }
            return Integer.toString(n);
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    	}
    }
    
    // Sleep sleeps the specified time multiplied by the sleep factor.
    // If the factor is updated the sleep will be done again with the new factor.
    func (d *dynamicSleeper) Sleep(ctx context.Context, base time.Duration) {
    	for {
    		// Grab current values
    		d.mu.RLock()
    		minWait, maxWait := d.minSleep, d.maxSleep
    		factor := d.factor
    		cycle := d.cycle
    		d.mu.RUnlock()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 09:40:19 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileAttributesTest.java

                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
                        // there seems to be some random factor (adding one second)
                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
                        Assert.assertTrue("Have set time correctly", diff < 2);
                    }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    	return 0
    }
    
    // term = factor | factor ('*' | '/' | '%' | '>>' | '<<' | '&') factor
    func (p *Parser) term() uint64 {
    	value := p.factor()
    	for {
    		switch p.peek() {
    		case '*':
    			p.next()
    			value *= p.factor()
    		case '/':
    			p.next()
    			if int64(value) < 0 {
    				p.errorf("divide of value with high bit set")
    			}
    			divisor := p.factor()
    			if divisor == 0 {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

       */
      @VisibleForTesting transient long[] entries;
    
      /** The load factor. */
      private transient float loadFactor;
    
      /** When we have this many elements, resize the hashtable. */
      private transient int threshold;
    
      /** Constructs a new empty instance of {@code ObjectCountHashMap}. */
      ObjectCountHashMap() {
        init(DEFAULT_SIZE, DEFAULT_LOAD_FACTOR);
      }
    
      ObjectCountHashMap(ObjectCountHashMap<? extends K> map) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 15K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/LruHashMap.java

         */
        protected static final float DEFAULT_LOAD_FACTOR = 0.75f;
    
        /**
         * 上限サイズです。
         */
        protected final int limitSize;
    
        /**
         * {@link LruHashMap}を作成します。
         *
         * @param limitSize
         *            エントリ数の上限
         */
        public LruHashMap(final int limitSize) {
            this(limitSize, DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR);
        }
    
        /**
         * {@link LruHashMap}を作成します。
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/ArrayMap.java

            listTable = new Entry[initialCapacity];
            threshold = (int) (initialCapacity * LOAD_FACTOR);
        }
    
        /**
         * 指定された{@link Map}と同じマッピングでインスタンスを構築します。
         *
         * @param map
         *            マッピングがこのマップに配置されるマップ
         */
        public ArrayMap(final Map<? extends K, ? extends V> map) {
            this((int) (map.size() / LOAD_FACTOR) + 1);
            putAll(map);
        }
    
        @Override
        public int size() {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
  9. manifests/addons/values-loki.yaml

    # use single binary and filesystem storage for test
    # do not use in production
    loki:
      useTestSchema: true
      auth_enabled: false
      commonConfig:
        replication_factor: 1
      storage:
        type: 'filesystem'
    test:
      enabled: false
    lokiCanary:
      enabled: false
    monitoring:
      dashboards:
        enabled: false
      rules:
        enabled: false
        alerting: false
      serviceMonitor:
        enabled: false
        metricsInstance:
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 09 21:40:53 GMT 2024
    - 786 bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.graph.GraphConstants.INNER_CAPACITY;
    import static com.google.common.graph.GraphConstants.INNER_LOAD_FACTOR;
    import static com.google.common.graph.Graphs.checkNonNegative;
    import static com.google.common.graph.Graphs.checkPositive;
    
    import com.google.common.base.Function;
    import com.google.common.collect.AbstractIterator;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
Back to top