Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 2,202 for values (0.14 sec)

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

      private static final int[] VALUES = {LEAST, (int) -1, (int) 0, (int) 1, GREATEST};
    
      public void testHashCode() {
        for (int value : VALUES) {
          assertThat(Ints.hashCode(value)).isEqualTo(((Integer) value).hashCode());
        }
      }
    
      public void testCheckedCast() {
        for (int value : VALUES) {
          assertThat(Ints.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/DoublesTest.java

          };
    
      private static final double[] VALUES = Doubles.concat(NUMBERS, new double[] {NaN});
    
      public void testHashCode() {
        for (double value : VALUES) {
          assertThat(Doubles.hashCode(value)).isEqualTo(((Double) value).hashCode());
        }
      }
    
      public void testIsFinite() {
        for (double value : NUMBERS) {
          assertThat(Doubles.isFinite(value))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

          };
    
      private static final float[] VALUES = Floats.concat(NUMBERS, new float[] {NaN});
    
      public void testHashCode() {
        for (float value : VALUES) {
          assertThat(Floats.hashCode(value)).isEqualTo(((Float) value).hashCode());
        }
      }
    
      public void testIsFinite() {
        for (float value : NUMBERS) {
          assertThat(Floats.isFinite(value))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * an application-specified ordering of lock acquisitions. The application defines the allowed
       * ordering with an {@code Enum} whose values each correspond to a lock type. The order in which
       * the values are declared dictates the allowed order of lock acquisition. In other words, locks
       * corresponding to smaller values of {@link Enum#ordinal()} should only be acquired before locks
       * with larger ordinals. Example:
       *
       * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  5. docs_src/header_params/tutorial003_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(x_token: Union[list[str], None] = Header(default=None)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 218 bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java

       * A set containing all of the optional features of the {@link Iterator} and {@link ListIterator}
       * interfaces.
       */
      public static final Set<IteratorFeature> MODIFIABLE =
          unmodifiableSet(new LinkedHashSet<>(asList(values())));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 03 18:22:43 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/ReportConfigurationExpander.java

     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ReportConfigurationExpander {
    
        /**
         * Merges values from general report plugin configuration into the individual reports sets of the given model.
         *
         * @param model The model whose report plugin configuration should be expanded, must not be <code>null</code>.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/aether/PropertyContributorExtender.java

                HashMap<String, String> userPropertiesMap = new HashMap<>((Map) mavenExecutionRequest.getUserProperties());
                for (PropertyContributor contributor : effectivePropertyContributors.values()) {
                    contributor.contribute(userPropertiesMap);
                }
                Properties newProperties = new Properties();
                newProperties.putAll(userPropertiesMap);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. scripts/label_approved.py

                    review_by_user[review.user.login] = review
            else:
                review_by_user[review.user.login] = review
        approved_reviews = [
            review for review in review_by_user.values() if review.state == "APPROVED"
        ]
        config = settings.config or default_config
        for approved_label, conf in config.items():
            logging.debug(f"Processing config: {conf.json()}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 13:58:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. internal/disk/type_windows.go

    	var lpVolumeSerialNumber uint32
    	var lpFileSystemFlags, lpMaximumComponentLength uint32
    	var lpFileSystemNameBuffer, volumeName [260]uint16
    	ps := syscall.StringToUTF16Ptr(filepath.VolumeName(path))
    
    	// Extract values safely
    	// BOOL WINAPI GetVolumeInformation(
    	// _In_opt_  LPCTSTR lpRootPathName,
    	// _Out_opt_ LPTSTR  lpVolumeNameBuffer,
    	// _In_      DWORD   nVolumeNameSize,
    	// _Out_opt_ LPDWORD lpVolumeSerialNumber,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.2K bytes
    - Viewed (0)
Back to top