Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 705 for reverse1 (0.12 sec)

  1. src/sort/sort_test.go

    	sizes := []int{100, 1023, 1024, 1025}
    	if testing.Short() {
    		sizes = []int{100, 127, 128, 129}
    	}
    	dists := []string{"sawtooth", "rand", "stagger", "plateau", "shuffle"}
    	modes := []string{"copy", "reverse", "reverse1", "reverse2", "sort", "dither"}
    	var tmp1, tmp2 [1025]int
    	for _, n := range sizes {
    		for m := 1; m < 2*n; m *= 2 {
    			for dist := 0; dist < _NDist; dist++ {
    				j := 0
    				k := 1
    				data := tmp1[0:n]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK: [[VAL:%.+]] = "mhlo.reverse"(%arg0) <{dimensions = dense<1> : tensor<1xi64>}>
      %reversed = "tf.ReverseV2"(%arg0, %axis) : (tensor<5x5xi32>, tensor<1xi32>) -> tensor<5x5xi32>
    
      // CHECK: return [[VAL]] : tensor<5x5xi32>
      func.return %reversed : tensor<5x5xi32>
    }
    
    //===----------------------------------------------------------------------===//
    // StatefulPartitionedCall op legalization.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  3. src/math/bits/bits.go

    	s := uint(k) & (n - 1)
    	return x<<s | x>>(n-s)
    }
    
    // --- Reverse ---
    
    // Reverse returns the value of x with its bits in reversed order.
    func Reverse(x uint) uint {
    	if UintSize == 32 {
    		return uint(Reverse32(uint32(x)))
    	}
    	return uint(Reverse64(uint64(x)))
    }
    
    // Reverse8 returns the value of x with its bits in reversed order.
    func Reverse8(x uint8) uint8 {
    	return rev8tab[x]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  4. src/math/bits/make_examples.go

    			out2: [4]any{bits.RotateLeft8(15, -2), bits.RotateLeft16(15, -2), bits.RotateLeft32(15, -2), bits.RotateLeft64(15, -2)},
    		},
    		{
    			name: "Reverse",
    			in:   19,
    			out:  [4]any{bits.Reverse8(19), bits.Reverse16(19), bits.Reverse32(19), bits.Reverse64(19)},
    		},
    		{
    			name: "ReverseBytes",
    			in:   15,
    			out:  [4]any{nil, bits.ReverseBytes16(15), bits.ReverseBytes32(15), bits.ReverseBytes64(15)},
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/helper/normalize_score.go

    // scores from [0, max(scores)] to [0, maxPriority]. If reverse is set to true, it
    // reverses the scores by subtracting it from maxPriority.
    // Note: The input scores are always assumed to be non-negative integers.
    func DefaultNormalizeScore(maxPriority int64, reverse bool, scores framework.NodeScoreList) *framework.Status {
    	var maxCount int64
    	for i := range scores {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 16:15:18 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

    import com.google.common.collect.ImmutableMap;
    import java.util.Deque;
    
    /** Parser for a map of reversed domain names stored as a serialized radix tree. */
    @GwtCompatible
    final class TrieParser {
    
      private static final Joiner DIRECT_JOINER = Joiner.on("");
    
      /**
       * Parses a serialized trie representation of a map of reversed public suffixes into an immutable
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Oct 13 19:20:43 UTC 2022
    - 4K bytes
    - Viewed (0)
  7. guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

    import com.google.common.collect.ImmutableMap;
    import java.util.Deque;
    
    /** Parser for a map of reversed domain names stored as a serialized radix tree. */
    @GwtCompatible
    final class TrieParser {
    
      private static final Joiner DIRECT_JOINER = Joiner.on("");
    
      /**
       * Parses a serialized trie representation of a map of reversed public suffixes into an immutable
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Oct 13 19:20:43 UTC 2022
    - 4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/workerApi/workerDaemon/groovy/build.gradle

            fileSystemOperations.copy {
                from fileToReverse
                into parameters.destinationDir
                filter { String line -> line.reverse() }
            }
            if (Boolean.getBoolean("org.gradle.sample.showFileSize")) {
                println "Reversed ${fileToReverse.size()} bytes from ${fileToReverse.name}"
            }
        }
    }
    
    abstract class ReverseFiles extends SourceTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Converter.java

    /**
     * A function from {@code A} to {@code B} with an associated <i>reverse</i> function from {@code B}
     * to {@code A}; used for converting back and forth between <i>different representations of the same
     * information</i>.
     *
     * <h3>Invertibility</h3>
     *
     * <p>The reverse operation <b>may</b> be a strict <i>inverse</i> (meaning that {@code
     * converter.reverse().convert(converter.convert(a)).equals(a)} is always true). However, it is very
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/workerApi/waitForCompletion/groovy/build.gradle

            workQueue.await()
            logger.lifecycle("Created ${outputDir.get().asFile.listFiles().length} reversed files in ${projectLayout.projectDirectory.asFile.relativePath(outputDir.get().asFile)}")
    
            // end::wait-for-completion[]
        }
    }
    
    task reverseFiles(type: ReverseFiles) {
        outputDir = layout.buildDirectory.dir("reversed")
        source("sources")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top