Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 493 for pconstants (0.1 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        return new Builder<>(expectedKeys);
      }
    
      /**
       * A builder for creating immutable {@code SetMultimap} instances, especially {@code public static
       * final} multimaps ("constant multimaps"). Example:
       *
       * <pre>{@code
       * static final Multimap<String, Integer> STRING_TO_INTEGER_MULTIMAP =
       *     new ImmutableSetMultimap.Builder<String, Integer>()
       *         .put("one", 1)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableBiMap.java

        checkNonnegative(expectedSize, "expectedSize");
        return new Builder<>(expectedSize);
      }
    
      /**
       * A builder for creating immutable bimap instances, especially {@code public static final} bimaps
       * ("constant bimaps"). Example:
       *
       * <pre>{@code
       * static final ImmutableBiMap<String, Integer> WORD_TO_INT =
       *     new ImmutableBiMap.Builder<String, Integer>()
       *         .put("one", 1)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

      }
    
      /**
       * Returns an arbitrary ordering over all objects, for which {@code compare(a, b) == 0} implies
       * {@code a == b} (identity equality). There is no meaning whatsoever to the order imposed, but it
       * is constant for the life of the VM.
       *
       * <p>Because the ordering is identity-based, it is not "consistent with {@link
       * Object#equals(Object)}" as defined by {@link Comparator}. Use caution when building a {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. LICENSE

    that what they have is not the original version, so that the original
    author's reputation will not be affected by problems that might be
    introduced by others.
    
      Finally, software patents pose a constant threat to the existence of
    any free program.  We wish to make sure that a company cannot
    effectively restrict the users of a free program by obtaining a
    restrictive license from a patent holder.  Therefore, we insist that
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Functions.constant;
    import static com.google.common.base.MoreObjects.toStringHelper;
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      }
    
      public void testIndex_nullKey() {
        List<Integer> values = Arrays.asList(1, 2);
        assertThrows(
            NullPointerException.class, () -> Multimaps.index(values, Functions.constant(null)));
      }
    
      @GwtIncompatible(value = "untested")
      public void testTransformValues() {
        SetMultimap<String, Integer> multimap =
            ImmutableSetMultimap.of("a", 2, "b", -3, "b", 3, "a", 4, "c", 6);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        return new Builder<>(Ordering.natural());
      }
    
      /**
       * A builder for creating immutable multiset instances, especially {@code public static final}
       * multisets ("constant multisets"). Example:
       *
       * <pre>{@code
       * public static final ImmutableSortedMultiset<Bean> BEANS =
       *     new ImmutableSortedMultiset.Builder<Bean>(colorComparator())
       *         .addCopies(Bean.COCOA, 4)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. .bazelrc

    # See https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
    build:windows --copt=/Zc:__cplusplus
    build:windows --host_copt=/Zc:__cplusplus
    
    # Tensorflow uses M_* math constants that only get defined by MSVC headers if
    # _USE_MATH_DEFINES is defined.
    build:windows --copt=/D_USE_MATH_DEFINES
    build:windows --host_copt=/D_USE_MATH_DEFINES
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 22:02:31 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  9. internal/grid/grid_test.go

    		}
    		return
    	}
    }
    
    // Inserted manually.
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[StateUnconnected-0]
    	_ = x[StateConnecting-1]
    	_ = x[StateConnected-2]
    	_ = x[StateConnectionError-3]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. src/cmd/api/main_test.go

    }
    
    var listCache sync.Map // map[string]listImports, keyed by contextName
    
    // listSem is a semaphore restricting concurrent invocations of 'go list'. 'go
    // list' has its own internal concurrency, so we use a hard-coded constant (to
    // allow the I/O-intensive phases of 'go list' to overlap) instead of scaling
    // all the way up to GOMAXPROCS.
    var listSem = make(chan semToken, 2)
    
    type semToken struct{}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
Back to top