Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 400 for force32 (0.1 seconds)

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

        for (int i = -3; i <= 3; i++) {
          testIntsBuilder
              .add(i)
              .add(force32(Integer.MIN_VALUE + i))
              .add(force32(Integer.MAX_VALUE + i));
          testLongsBuilder
              .add((long) i)
              .add((long) Integer.MIN_VALUE + i)
              .add((long) Integer.MAX_VALUE + i)
              .add((1L << 32) + i);
        }
        TEST_INTS = testIntsBuilder.build();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/IntMathTest.java

        assertEquals(10, IntMath.saturatedAbs(10));
        assertEquals(10, IntMath.saturatedAbs(-10));
      }
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/IntMathTest.java

        assertEquals(10, IntMath.saturatedAbs(10));
        assertEquals(10, IntMath.saturatedAbs(-10));
      }
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                                        + repository.getId() + " has elapsed or updates are forced.");
                    }
                }
            }
        }
    
        @Override
        public void getArtifact(
                Artifact artifact,
                List<ArtifactRepository> remoteRepositories,
                TransferListener downloadMonitor,
                boolean force)
                throws TransferFailedException, ResourceDoesNotExistException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java

     * @since 4.0.0
     */
    @Experimental
    public interface EncryptOptions extends Options {
        /**
         * Should the operation be forced (ie overwrite existing config, if any).
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> force();
    
        /**
         * Should imply "yes" to all questions.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

         */
        @Nonnull
        Optional<Boolean> nonRecursive();
    
        /**
         * Indicates whether Maven should force a check for updated snapshots on remote repositories.
         *
         * @return an {@link Optional} containing true if snapshot updates should be forced, false if not, or empty if not specified
         */
        @Nonnull
        Optional<Boolean> updateSnapshots();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 8K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                        .get());
                options.addOption(Option.builder(UPDATE_SNAPSHOTS)
                        .longOpt("update-snapshots")
                        .desc("Forces a check for missing releases and updated snapshots on remote repositories")
                        .get());
                options.addOption(Option.builder(ACTIVATE_PROFILES)
                        .longOpt("activate-profiles")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 17:39:57 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .build());
            options.addOption(Option.builder(Character.toString(UPDATE_SNAPSHOTS))
                    .longOpt("update-snapshots")
                    .desc("Forces a check for missing releases and updated snapshots on remote repositories")
                    .build());
            options.addOption(Option.builder(Character.toString(ACTIVATE_PROFILES))
                    .longOpt("activate-profiles")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Aug 06 04:56:48 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

            public static final String FORCE = "f";
            public static final String YES = "y";
    
            @Override
            protected void prepareOptions(org.apache.commons.cli.Options options) {
                super.prepareOptions(options);
                options.addOption(Option.builder(FORCE)
                        .longOpt("force")
                        .desc("Should overwrite without asking any configuration?")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 17:39:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  10. src/bootstrap.bash

    # to generate bootstrap tgz files for builders.
    
    set -e
    
    if [ "$GOOS" = "" -o "$GOARCH" = "" ]; then
    	echo "usage: GOOS=os GOARCH=arch ./bootstrap.bash [-force]" >&2
    	exit 2
    fi
    
    forceflag=""
    if [ "$1" = "-force" ]; then
    	forceflag=-force
    	shift
    fi
    
    targ="../../go-${GOOS}-${GOARCH}-bootstrap"
    if [ -e $targ ]; then
    	echo "$targ already exists; remove before continuing"
    	exit 2
    fi
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Click Count (0)
Back to Top