Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for commutative (0.13 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/NormalizingExcludeFactoryTest.groovy

        @Unroll("#left ∪ #right = #expected")
        def "union of two elements"() {
            expect:
            factory.anyOf(left, right) == expected
    
            and: "union is commutative"
            factory.anyOf(right, left) == expected
    
            where:
            left                                                                | right                                       | expected
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Range.java

       * yields the empty range {@code [5..5)}.
       *
       * <p>The intersection exists if and only if the two ranges are {@linkplain #isConnected
       * connected}.
       *
       * <p>The intersection operation is commutative, associative and idempotent, and its identity
       * element is {@link Range#all}).
       *
       * @throws IllegalArgumentException if {@code isConnected(connectedRange)} is {@code false}
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. tensorflow/c/ops.h

    //   <type-list> is the name of an attr with type "list(type)".
    TF_CAPI_EXPORT extern void TF_OpDefinitionBuilderAddOutput(
        TF_OpDefinitionBuilder* builder, const char* output_spec);
    
    // Sets the commutative property for the op built by the given builder.
    TF_CAPI_EXPORT extern void TF_OpDefinitionBuilderSetIsCommutative(
        TF_OpDefinitionBuilder* builder, bool is_commutative);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Range.java

       * yields the empty range {@code [5..5)}.
       *
       * <p>The intersection exists if and only if the two ranges are {@linkplain #isConnected
       * connected}.
       *
       * <p>The intersection operation is commutative, associative and idempotent, and its identity
       * element is {@link Range#all}).
       *
       * @throws IllegalArgumentException if {@code isConnected(connectedRange)} is {@code false}
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/op.go

    	asm               obj.As
    	generic           bool      // this is a generic (arch-independent) opcode
    	rematerializeable bool      // this op is rematerializeable
    	commutative       bool      // this operation is commutative (e.g. addition)
    	resultInArg0      bool      // (first, if a tuple) output of v and v.Args[0] must be allocated to the same register
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CollectCollectors.java

              BinaryOperator<V> mergeFunction) {
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        checkNotNull(mergeFunction);
        // not UNORDERED because we don't know if mergeFunction is commutative
        return Collector.of(
            () -> new EnumMapAccumulator<K, V>(mergeFunction),
            (accum, t) -> {
              /*
               * We assign these to variables before calling checkNotNull to work around a bug in our
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:21:40 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CollectCollectors.java

              BinaryOperator<V> mergeFunction) {
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        checkNotNull(mergeFunction);
        // not UNORDERED because we don't know if mergeFunction is commutative
        return Collector.of(
            () -> new EnumMapAccumulator<K, V>(mergeFunction),
            (accum, t) -> {
              /*
               * We assign these to variables before calling checkNotNull to work around a bug in our
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:21:40 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. src/net/http/pattern_test.go

    		got := pat1.conflictsWith(pat2)
    		if got != test.want {
    			t.Errorf("%q.ConflictsWith(%q) = %t, want %t",
    				test.p1, test.p2, got, test.want)
    		}
    		// conflictsWith should be commutative.
    		got = pat2.conflictsWith(pat1)
    		if got != test.want {
    			t.Errorf("%q.ConflictsWith(%q) = %t, want %t",
    				test.p2, test.p1, got, test.want)
    		}
    	}
    }
    
    func TestRegisterConflict(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. src/math/big/ratconv.go

    	// may be a nonzero exponent exp. The radix point amounts to a
    	// division by base**(-fcount), which equals a multiplication by
    	// base**fcount. An exponent means multiplication by ebase**exp.
    	// Multiplications are commutative, so we can apply them in any
    	// order. We only have powers of 2 and 10, and we split powers
    	// of 10 into the product of the same powers of 2 and 5. This
    	// may reduce the size of shift/multiplication factors or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 22:16:34 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    (I64ShrU (I64Const [x]) (I64Const [y])) => (I64Const [int64(uint64(x) >> uint64(y))])
    (I64ShrS (I64Const [x]) (I64Const [y])) => (I64Const [x >> uint64(y)])
    
    // TODO: declare these operations as commutative and get rid of these rules?
    (I64Add (I64Const [x]) y) && y.Op != OpWasmI64Const => (I64Add y (I64Const [x]))
    (I64Mul (I64Const [x]) y) && y.Op != OpWasmI64Const => (I64Mul y (I64Const [x]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
Back to top