Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,345 for Add (0.02 sec)

  1. guava-tests/test/com/google/common/math/MathTesting.java

          int x = 1 << exponent;
          intValues.add(x, x + 1, x - 1);
        }
        intValues.add(9999).add(10000).add(10001).add(1000000); // near powers of 10
        intValues.add(5792).add(5793); // sqrt(2^25) rounded up and down
        POSITIVE_INTEGER_CANDIDATES = intValues.build();
        NEGATIVE_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
                Iterables.concat(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/MathTesting.java

          int x = 1 << exponent;
          intValues.add(x, x + 1, x - 1);
        }
        intValues.add(9999).add(10000).add(10001).add(1000000); // near powers of 10
        intValues.add(5792).add(5793); // sqrt(2^25) rounded up and down
        POSITIVE_INTEGER_CANDIDATES = intValues.build();
        NEGATIVE_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
                Iterables.concat(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

            }
    
            artifacts.add(artifact);
        }
    
        public Set<Artifact> getArtifacts() {
            return artifacts;
        }
    
        public void addRequestedArtifact(Artifact artifact) {
            if (requestedArtifacts == null) {
                requestedArtifacts = new LinkedHashSet<>();
            }
    
            requestedArtifacts.add(artifact);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. cmd/last-minute.go

    			Size:  l.Totals[i].Size + o.Totals[i].Size,
    		}
    	}
    	return merged
    }
    
    // Add  a new duration data
    func (l *lastMinuteLatency) add(t time.Duration) {
    	sec := time.Now().Unix()
    	l.forwardTo(sec)
    	winIdx := sec % 60
    	l.Totals[winIdx].add(t)
    	l.LastSec = sec
    }
    
    // Add  a new duration data
    func (l *lastMinuteLatency) addAll(sec int64, a AccElem) {
    	l.forwardTo(sec)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

          ImmutableRangeSet.<Integer>builder()
              .add(Range.closed(2, 4))
              .add(Range.open(6, 7))
              .add(Range.closedOpen(8, 10))
              .add(Range.openClosed(15, 17))
              .build();
    
      private static final ImmutableRangeSet<Integer> RANGE_SET_TWO =
          ImmutableRangeSet.<Integer>builder()
              .add(Range.openClosed(0, 3))
              .add(Range.closed(5, 8))
              .add(Range.closedOpen(12, 15))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
    
        testers.add(CollectionSerializationEqualTester.class);
        testers.add(SetAddAllTester.class);
        testers.add(SetAddTester.class);
        testers.add(SetCreationTester.class);
        testers.add(SetHashCodeTester.class);
        testers.add(SetEqualsTester.class);
        testers.add(SetRemoveTester.class);
        // SetRemoveAllTester doesn't exist because, Sets not permitting
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.NO_BOUND, Bound.INCLUSIVE));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.EXCLUSIVE));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.INCLUSIVE));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

        public ArtifactResolutionResult addVersionRangeViolation(Exception e) {
            versionRangeViolations = initList(versionRangeViolations);
    
            versionRangeViolations.add(e);
    
            exceptions = initList(exceptions);
    
            exceptions.add(e);
    
            return this;
        }
    
        public OverConstrainedVersionException getVersionRangeViolation(int i) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            multiset1.add("equalIn1");
            multiset1.add("fewerIn1");
            multiset2.add("equalIn1");
            multiset2.add("fewerIn1", 3);
            multiset2.add("onlyIn2", 2);
            for (int i = 0; i < elements.length; i++) {
              // add 1 more copy of each element to multiset1 than multiset2
              multiset1.add(elements[i], i + 2);
              multiset2.add(elements[i], i + 1);
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        testers.add(CollectionSerializationEqualTester.class);
        testers.add(ListAddAllAtIndexTester.class);
        testers.add(ListAddAllTester.class);
        testers.add(ListAddAtIndexTester.class);
        testers.add(ListAddTester.class);
        testers.add(ListCreationTester.class);
        testers.add(ListEqualsTester.class);
        testers.add(ListGetTester.class);
        testers.add(ListHashCodeTester.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top