Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 1,020 for constant (0.07 seconds)

  1. 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:
       *
       * {@snippet :
       * public static final ImmutableSortedMultiset<Bean> BEANS =
       *     new ImmutableSortedMultiset.Builder<Bean>(colorComparator())
       *         .addCopies(Bean.COCOA, 4)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  2. 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;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 13:51:27 GMT 2025
    - 96.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        new EqualsTester()
            .addEqualityGroup(
                comparator, DECREASING_INTEGER.onResultOf(StringLengthFunction.STRING_LENGTH))
            .addEqualityGroup(DECREASING_INTEGER.onResultOf(Functions.constant(1)))
            .addEqualityGroup(Ordering.natural())
            .testEquals();
        reserializeAndAssert(comparator);
        assertEquals("Ordering.natural().reverse().onResultOf(STRING_LENGTH)", comparator.toString());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 42.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

        new EqualsTester()
            .addEqualityGroup(
                comparator, DECREASING_INTEGER.onResultOf(StringLengthFunction.STRING_LENGTH))
            .addEqualityGroup(DECREASING_INTEGER.onResultOf(Functions.constant(1)))
            .addEqualityGroup(Ordering.natural())
            .testEquals();
        reserializeAndAssert(comparator);
        assertEquals("Ordering.natural().reverse().onResultOf(STRING_LENGTH)", comparator.toString());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 42.8K bytes
    - Click Count (0)
  5. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  6. lib/fips140/v1.1.0-rc1.zip

    t.Errorf("PublicKeySize65 constant incorrect") } if PublicKeySize87 != pubKeySize(params87) { t.Errorf("PublicKeySize87 constant incorrect") } if SignatureSize44 != sigSize(params44) { t.Errorf("SignatureSize44 constant incorrect") } if SignatureSize65 != sigSize(params65) { t.Errorf("SignatureSize65 constant incorrect") } if SignatureSize87 != sigSize(params87) { t.Errorf("SignatureSize87 constant incorrect") } } func TestPower2Round(t *testing.T) { t.Parallel() for x := range uint32(q) { rr, _ := fieldToMontgomery(x)...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
  7. guava/src/com/google/common/math/LongMath.java

            /*
             * lowasser, 2015-Feb-12: Benchmarks suggest that changing this to UnsignedLongs.remainder
             * and increasing the threshold to 2^32 doesn't pay for itself, and adding another enum
             * constant hurts performance further -- I suspect because bimorphic implementation is a
             * sweet spot for the JVM.
             */
            return (a * b) % m;
          }
    
          @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 03 21:01:09 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  8. tensorflow/c/c_api_function_test.cc

      // Workaround for not being able to initialize empty map using {}
      std::unordered_set<string> empty_;
    };
    
    TEST_F(CApiFunctionTest, OneOp_ZeroInputs_OneOutput) {
      /*
       *                constant
       *                   |
       *                   v
       */
      // Define
      TF_Operation* c = ScalarConst(10, func_graph_, s_, "scalar10");
      Define(-1, {}, {}, {c}, {});
    
      // Use, run, and verify
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 63.6K bytes
    - Click Count (1)
  9. lib/fips140/v1.0.0-c2097c7c.zip

    inlining, we must also mark functions that inline // //go:norace functions - specifically, those that inline add, addMulVVW, // assign, cmpGeq, rshift1, and sub. // choice represents a constant-time boolean. The value of choice is always // either 1 or 0. We use an int instead of bool in order to make decisions in // constant time by turning it into a mask. type choice uint func not(c choice) choice { return 1 ^ c } const yes = choice(1) const no = choice(0) // ctMask is all 1s if on is yes, and all 0s...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return new Builder<>(Ordering.<K>natural().reverse());
      }
    
      /**
       * A builder for creating immutable sorted map instances, especially {@code public static final}
       * maps ("constant maps"). Example:
       *
       * {@snippet :
       * static final ImmutableSortedMap<Integer, String> INT_TO_WORD =
       *     new ImmutableSortedMap.Builder<Integer, String>(Ordering.natural())
       *         .put(1, "one")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 52.9K bytes
    - Click Count (0)
Back to Top