Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 392 for count1s (0.03 sec)

  1. src/main/java/jcifs/util/transport/Transport.java

        private final AtomicLong usageCount = new AtomicLong(1);
    
        /**
         * Acquires a reference to this transport, incrementing the usage count.
         *
         * @return session increased usage count
         */
        public Transport acquire() {
            final long usage = this.usageCount.incrementAndGet();
            if (log.isTraceEnabled()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    	filter := func(list []uint64) (commonCount uint64) {
    		maxCnt := 0
    		signatureMap := map[uint64]int{}
    		for _, v := range list {
    			signatureMap[v]++
    		}
    		for ops, count := range signatureMap {
    			if maxCnt < count && commonCount < ops {
    				maxCnt = count
    				commonCount = ops
    			}
    		}
    		if maxCnt < readQuorum {
    			return 0
    		}
    		return commonCount
    	}
    
    	commonWrite = filter(writes)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  3. cmd/format-erasure_test.go

    	for _, hash := range formatHashes {
    		if hash == "" {
    			continue
    		}
    		formatCountMap[hash]++
    	}
    
    	maxHash := ""
    	maxCount := 0
    	for hash, count := range formatCountMap {
    		if count > maxCount {
    			maxCount = count
    			maxHash = hash
    		}
    	}
    
    	if maxCount < len(formats)/2 {
    		return nil, errErasureReadQuorum
    	}
    
    	for i, hash := range formatHashes {
    		if hash == maxHash {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/bufio/scan.go

    	ErrTooLong         = errors.New("bufio.Scanner: token too long")
    	ErrNegativeAdvance = errors.New("bufio.Scanner: SplitFunc returns negative advance count")
    	ErrAdvanceTooFar   = errors.New("bufio.Scanner: SplitFunc returns advance count beyond input")
    	ErrBadReadCount    = errors.New("bufio.Scanner: Read returned impossible count")
    )
    
    const (
    	// MaxScanTokenSize is the maximum size used to buffer a token
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/site/apt/offline-mode.apt

    Offline Mode Design
    
    * UPDATE: 18-April-2005
    
      We cannot take the approach outlined below of detecting which remote
      repositories are "really" offline, since offline mode is more of a behavior,
      and this will lead to counter-intuitive results. A different feature may exist
      unimplemented, which is to detect when the network is down and provide better
      feedback for that case. However, when offline mode is declared, nothing
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Ordering.java

      }
    
      @J2ktIncompatible // MapMaker
      @VisibleForTesting
      static class ArbitraryOrdering extends Ordering<@Nullable Object> {
    
        private final AtomicInteger counter = new AtomicInteger(0);
        private final ConcurrentMap<Object, Integer> uids =
            Platform.tryWeakKeys(new MapMaker()).makeMap();
    
        private Integer getUid(Object obj) {
          Integer uid = uids.get(obj);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                        }
                    },
                    PROJECT_PREFIXES,
                    false);
    
            List<ValueSource> valueSources = new ArrayList<>(9);
    
            // NOTE: Order counts here!
            valueSources.add(basedirValueSource);
            valueSources.add(baseUriValueSource);
            valueSources.add(new BuildTimestampValueSource(config.getBuildStartTime(), timestampFormat));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            // Fail 5 times, succeed on 6th attempt
            when(mockFuture.actionGet(anyLong(), any(TimeUnit.class))).thenAnswer(invocation -> {
                int count = attemptCount.incrementAndGet();
                if (count <= 5) {
                    throw new RuntimeException("Simulated failure #" + count);
                }
                return "Success";
            });
    
            final String result = fesenClient.get(c -> mockFuture);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. tests/lru_test.go

    		t.Fatalf("value differs from expected")
    	}
    
    	if lc.Resize(0) != 0 {
    		t.Fatalf("evicted count differs from expected")
    	}
    	if lc.Resize(2) != 0 {
    		t.Fatalf("evicted count differs from expected")
    	}
    	lc.Add("key2", "val2")
    	if lc.Resize(1) != 1 {
    		t.Fatalf("evicted count differs from expected")
    	}
    }
    
    func TestLRUEdgeCases(t *testing.T) {
    	lc := lru.NewLRU[string, *string](2, nil, 0)
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Sep 08 09:19:22 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeImpl.java

                        this.session.release();
                    }
                }
            } else if (usage < 0) {
                log.error("Usage count dropped below zero " + this);
                dumpResource();
                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
        /**
         * @param stackTrace
         * @return
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
Back to top