Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 160 for vminus1 (0.17 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java

        NavigableMap<String, Integer> map = new SafeTreeMap<>();
        return SerializableTester.reserialize(map);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return -1;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

       * _could_, so we could keep it as it is. Or we could convince ourselves that hash flooding is
       * unlikely in practice there, too.)
       */
    
      /**
       * Returns an immutable set containing the given elements, minus duplicates, in the order each was
       * first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except
       * the first are ignored.
       */
      public static <E> ImmutableSet<E> of(E e1, E e2) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableBiMapMapInterfaceTest.java

      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        return ImmutableBiMap.of("one", 1, "two", 2, "three", 3);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return -1;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 09 16:16:28 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java

    import org.codehaus.plexus.interpolation.RegexBasedInterpolator;
    
    /**
     * Use a regular expression search to find and resolve expressions within the POM.
     *
     * TODO Consolidate this logic with the PluginParameterExpressionEvaluator, minus deprecations/bans.
     */
    @Deprecated
    public class RegexBasedModelInterpolator extends AbstractStringBasedModelInterpolator {
    
        public RegexBasedModelInterpolator() throws IOException {}
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheStatsTest.java

      }
    
      public void testMinus() {
        CacheStats one = new CacheStats(11, 13, 17, 19, 23, 27);
        CacheStats two = new CacheStats(53, 47, 43, 41, 37, 31);
    
        CacheStats diff = two.minus(one);
        assertEquals(76, diff.requestCount());
        assertEquals(42, diff.hitCount());
        assertEquals(42.0 / 76, diff.hitRate());
        assertEquals(34, diff.missCount());
        assertEquals(34.0 / 76, diff.missRate());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 30 14:58:49 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  6. src/runtime/msize.go

    //
    // See malloc.go for overview.
    // See also mksizeclasses.go for how we decide what size classes to use.
    
    package runtime
    
    // Returns size of the memory block that mallocgc will allocate if you ask for the size,
    // minus any inline space for metadata.
    func roundupsize(size uintptr, noscan bool) (reqSize uintptr) {
    	reqSize = size
    	if reqSize <= maxSmallSize-mallocHeaderSize {
    		// Small object.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileTreeIntegrationTest.groovy

            given:
            file('files/one.txt').createFile()
            file('files/a/two.txt').createFile()
            file('files/b/ignore.txt').createFile()
            buildFile """
                def files = fileTree(dir: 'files').minus(fileTree(dir: 'files/b'))
                task copy(type: Copy) {
                    from files
                    into 'dest'
                }
            """
    
            when:
            run 'copy'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/RegularImmutableSortedMapMapInterfaceTest.java

      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("one", 1, "two", 2, "three", 3);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return -1;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 17 01:34:55 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Instant.groovy

        }
    
        int compareTo(Instant t) {
            return nanos.compareTo(t.nanos)
        }
    
        Instant plus(long millis) {
            return new Instant(nanos + millis * 1000)
        }
    
        Duration minus(Instant t) {
            return new Duration(nanos - t.nanos)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java

        NavigableMap<String, Integer> map = new SafeTreeMap<>();
        return SerializableTester.reserialize(map);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
        return -1;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top