Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 61 for overkill (0.06 seconds)

  1. guava-tests/test/com/google/common/primitives/IntsTest.java

            .isEqualTo(0xFFEEDDCC);
      }
    
      public void testByteArrayRoundTrips() {
        Random r = new Random(5);
        byte[] b = new byte[Ints.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          int num = r.nextInt();
          assertThat(Ints.fromByteArray(Ints.toByteArray(num))).isEqualTo(num);
    
          r.nextBytes(b);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/ShortsTest.java

      }
    
      @GwtIncompatible // Shorts.fromByteArray, Shorts.toByteArray
      public void testByteArrayRoundTrips() {
        Random r = new Random(5);
        byte[] b = new byte[Shorts.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          short num = (short) r.nextInt();
          assertThat(Shorts.fromByteArray(Shorts.toByteArray(num))).isEqualTo(num);
    
          r.nextBytes(b);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

                    })
                .named("MinMaxPriorityQueue")
                .withFeatures(CollectionSize.ANY, CollectionFeature.GENERAL_PURPOSE)
                .createTestSuite());
        return suite;
      }
    
      // Overkill alert!  Test all combinations of 0-2 options during creation.
    
      public void testCreation_simple() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create();
        assertEquals(11, queue.capacity());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.1K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

                context.unindent();
            }
        }
    
        /**
         * Logs the overall result of all strategy executions.
         */
        private void logOverallResult(UpgradeContext context, UpgradeResult overallResult) {
            context.info("=== Overall Results ===");
            context.indent();
    
            context.info("Total POMs processed: " + overallResult.processedPoms().size());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. cmd/metrics-v3-cluster-erasure-set.go

    )
    
    const (
    	poolIDL = "pool_id"
    	setIDL  = "set_id"
    )
    
    var (
    	erasureSetOverallWriteQuorumMD = NewGaugeMD(erasureSetOverallWriteQuorum,
    		"Overall write quorum across pools and sets")
    	erasureSetOverallHealthMD = NewGaugeMD(erasureSetOverallHealth,
    		"Overall health across pools and sets (1=healthy, 0=unhealthy)")
    	erasureSetReadQuorumMD = NewGaugeMD(erasureSetReadQuorum,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 14 07:25:56 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  6. cmd/site-replication-utils.go

    )
    
    //go:generate msgp -file=$GOFILE
    
    // SiteResyncStatus captures current replication resync status for a target site
    type SiteResyncStatus struct {
    	Version int `json:"version" msg:"v"`
    	// Overall site status
    	Status                        ResyncStatusType            `json:"st" msg:"ss"`
    	DeplID                        string                      `json:"dId" msg:"did"`
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  7. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Microbenchmark for {@link Splitter#on} with char vs String with length == 1.
     *
     * @author Paul Lindner
     */
    @NullUnmarked
    public class SplitterBenchmark {
      // overall size of string
      @Param({"1", "10", "100", "1000"})
      int length;
    
      // Number of matching strings
      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Microbenchmark for {@link Splitter#on} with char vs String with length == 1.
     *
     * @author Paul Lindner
     */
    @NullUnmarked
    public class SplitterBenchmark {
      // overall size of string
      @Param({"1", "10", "100", "1000"})
      int length;
    
      // Number of matching strings
      @Param({"xxxx", "xxXx", "xXxX", "XXXX"})
      String text;
    
      private String input;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. cmd/bucket-replication-utils.go

    	return rs.ReplicaStatus == o.ReplicaStatus &&
    		rs.ReplicationStatusInternal == o.ReplicationStatusInternal &&
    		rs.VersionPurgeStatusInternal == o.VersionPurgeStatusInternal
    }
    
    // CompositeReplicationStatus returns overall replication status for the object version being replicated.
    func (rs *ReplicationState) CompositeReplicationStatus() (st replication.StatusType) {
    	switch {
    	case rs.ReplicationStatusInternal != "":
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  10. cmd/erasure-metadata.go

    				return true
    			}
    		}
    	}
    	return false
    }
    
    // VersionPurgeStatus returns overall version purge status for this object version across targets
    func (fi *FileInfo) VersionPurgeStatus() VersionPurgeStatusType {
    	return fi.ReplicationState.CompositeVersionPurgeStatus()
    }
    
    // ReplicationStatus returns overall version replication status for this object version across targets
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.3K bytes
    - Click Count (0)
Back to Top