Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,188 for Invert (0.7 sec)

  1. src/crypto/internal/edwards25519/field/fe_bench_test.go

    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		x.Square(x)
    	}
    }
    
    func BenchmarkInvert(b *testing.B) {
    	x := new(Element).Add(feOne, feOne)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		x.Invert(x)
    	}
    }
    
    func BenchmarkMult32(b *testing.B) {
    	x := new(Element).One()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		x.Mult32(x, 0xaa42aa42)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:45:00 UTC 2022
    - 924 bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializer.kt

    import org.gradle.internal.cc.impl.services.IsolatedActionCodecsFactory
    import org.gradle.internal.configuration.problems.PropertyProblem
    import org.gradle.internal.cc.base.logger
    import org.gradle.internal.extensions.stdlib.invert
    import org.gradle.internal.extensions.stdlib.uncheckedCast
    import org.gradle.internal.extensions.stdlib.useToRun
    import org.gradle.internal.serialize.graph.BeanStateReaderLookup
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/internal/xcodeproj/FileTypes.java

        }
    
        /**
         * Multimap of Apple UTI (Uniform Type Identifier) to file extension(s).
         */
        public static final ImmutableMultimap<String, String> UTI_TO_FILE_EXTENSIONS;
    
        static {
            // Invert the map of (file extension -> UTI) pairs to
            // (UTI -> [file extension 1, ...]) pairs.
            ImmutableMultimap.Builder<String, String> builder = ImmutableMultimap.builder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. src/crypto/ecdh/x25519.go

    		z2.Square(&z2)
    
    		z3.Mult32(&tmp1, 121666)
    		x3.Square(&x3)
    		tmp0.Add(&tmp0, &z3)
    		z3.Multiply(&x1, &z2)
    		z2.Multiply(&tmp1, &tmp0)
    	}
    
    	x2.Swap(&x3, swap)
    	z2.Swap(&z3, swap)
    
    	z2.Invert(&z2)
    	x2.Multiply(&x2, &z2)
    	copy(dst[:], x2.Bytes())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc

          >();
    }
    
    OpFoldResult StorageCastOp::fold(FoldAdaptor) {
      // Matches x -> [scast -> scast] -> y, replacing the second scast with the
      // value of x if the casts invert each other.
      auto srcScastOp = getArg().getDefiningOp<StorageCastOp>();
      if (!srcScastOp || srcScastOp.getArg().getType() != getType())
        return OpFoldResult();
      return srcScastOp.getArg();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.cc

          >();
    }
    
    OpFoldResult StorageCastOp::fold(FoldAdaptor) {
      // Matches x -> [scast -> scast] -> y, replacing the second scast with the
      // value of x if the casts invert each other.
      auto srcScastOp = getArg().getDefiningOp<StorageCastOp>();
      if (!srcScastOp || srcScastOp.getArg().getType() != getType())
        return OpFoldResult();
      return srcScastOp.getArg();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/upload/findwork.go

    					ans.readyfiles = append(ans.readyfiles, filepath.Join(localdir, fi.Name()))
    				}
    			} else {
    				// ...otherwise fall back on the old behavior of uploading all
    				// unuploaded files.
    				//
    				// TODO(rfindley): invert this logic following more testing. We
    				// should only upload if we know both the asof date and the report
    				// date, and they are acceptable.
    				u.logger.Printf("Uploadable (missing date): %s", fi.Name())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/cc/gradients/data_flow_grad.cc

      //   [0, 1, 2, 3, 4],
      //   [0, 0, 1, 1, 0], 2)
      //  = { [0, 1, 4],
      //      [2, 3] }
      auto partitioned_indices =
          DynamicPartition(scope, original_indices, partitions, num_partitions);
    
      // Invert these indices with dynamic_stitch to map the incoming
      // gradients to their source inputs.
      // dynamic_stitch(
      //   { [0, 1, 4], [2, 3] },
      //   { [g1, g2, g3], [g4, g5] })
      // = [g1, g2, g4, g5, g3]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jul 24 13:40:35 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  9. test/codegen/condmove.go

    		a = 2.0
    	}
    	// amd64:-"CMOV"
    	// arm64:-"CSEL"
    	// ppc64x:-"ISEL"
    	// wasm:-"Select"
    	return a
    }
    
    // On amd64, the following patterns trigger comparison inversion.
    // Test that we correctly invert the CMOV condition
    var gsink int64
    var gusink uint64
    
    func cmovinvert1(x, y int64) int64 {
    	if x < gsink {
    		y = -y
    	}
    	// amd64:"CMOVQGT"
    	return y
    }
    func cmovinvert2(x, y int64) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:57:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. src/archive/tar/strconv.go

    		//	-a-1 == ^a
    		//
    		// If the number is negative, we use an inversion mask to invert the
    		// data bytes and treat the value as an unsigned number.
    		var inv byte // 0x00 if positive or zero, 0xff if negative
    		if b[0]&0x40 != 0 {
    			inv = 0xff
    		}
    
    		var x uint64
    		for i, c := range b {
    			c ^= inv // Inverts c only if inv is 0xff, otherwise does nothing
    			if i == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top