Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 358 for shortly (0.25 sec)

  1. android/guava/src/com/google/common/primitives/Shorts.java

       * Returns the {@code short} value that is equal to {@code value}, if possible.
       *
       * @param value any value in the range of the {@code short} type
       * @return the {@code short} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or
       *     less than {@link Short#MIN_VALUE}
       */
      public static short checkedCast(long value) {
        short result = (short) value;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Shorts.java

       * Returns the {@code short} value that is equal to {@code value}, if possible.
       *
       * @param value any value in the range of the {@code short} type
       * @return the {@code short} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or
       *     less than {@link Short#MIN_VALUE}
       */
      public static short checkedCast(long value) {
        short result = (short) value;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy

        def "can serialize/deserialize isolated Short values"() {
            short short1 = 1
            short short2 = 2
            Isolatable<?>[] isolatables = [isolatableFactory.isolate(short1), isolatableFactory.isolate(short2)]
    
            when:
            serialize(isolatables)
    
            and:
            Isolatable<?>[] newIsolatables = deserialize()
    
            then:
            newIsolatables[0].isolate() == short1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineParser.java

            @Override
            public int compare(String option1, String option2) {
                boolean short1 = option1.length() == 1;
                boolean short2 = option2.length() == 1;
                if (short1 && !short2) {
                    return -1;
                }
                if (!short1 && short2) {
                    return 1;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.constrainToRange((short) 1, (short) 0, (short) 5)).isEqualTo((short) 1);
        assertThat(Shorts.constrainToRange((short) 1, (short) 1, (short) 5)).isEqualTo((short) 1);
        assertThat(Shorts.constrainToRange((short) 1, (short) 3, (short) 5)).isEqualTo((short) 3);
        assertThat(Shorts.constrainToRange((short) 0, (short) -5, (short) -1)).isEqualTo((short) -1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.constrainToRange((short) 1, (short) 0, (short) 5)).isEqualTo((short) 1);
        assertThat(Shorts.constrainToRange((short) 1, (short) 1, (short) 5)).isEqualTo((short) 1);
        assertThat(Shorts.constrainToRange((short) 1, (short) 3, (short) 5)).isEqualTo((short) 3);
        assertThat(Shorts.constrainToRange((short) 0, (short) -5, (short) -1)).isEqualTo((short) -1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java

         */
        public static boolean endsWith(CharSequence longer, CharSequence shorter) {
            if (longer instanceof String && shorter instanceof String) {
                return ((String) longer).endsWith((String) shorter);
            }
            int longerLength = longer.length();
            int shorterLength = shorter.length();
            if (longerLength < shorterLength) {
                return false;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/process/internal/JavaExecHandleBuilder.java

            return arguments;
        }
    
        @Override
        protected List<String> getEffectiveArguments() {
            List<String> arguments = getAllArguments();
    
            // Try to shorten command-line if necessary
            if (hasCommandLineExceedMaxLength(getExecutable(), arguments)) {
                try {
                    File pathingJarFile = writePathingJarFile(classpath);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 27 09:47:37 UTC 2023
    - 14K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/TestPageGenerator.java

            }
    
            public String getLabel() {
                return formatHash(hash);
            }
    
            private String formatHash(String hash) {
                return shorten(hash, 7);
            }
    
            public void renderCompareLink(Html html, String previousHash) {
                String range = String.format("%s...%s", formatHash(previousHash), formatHash(hash));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

      // fully qualified) or a short form with a single type (in which case the data
      // inputs and the output are all using this type).
      if (FunctionType type = mlir::dyn_cast<FunctionType>(types.front())) {
        result.types.assign(type.getResults().begin(), type.getResults().end());
        types.assign(type.getInputs().begin(), type.getInputs().end());
      } else {
        // In case of the short form, use the parsed type for both the operands and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top