Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,833 for arrayT (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java

    import com.google.common.collect.testing.features.Feature;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests for CompactHashSet.
     *
     * @author Dimitris Andreou
     */
    @GwtIncompatible // java.util.Arrays#copyOf(Object[], int), java.lang.reflect.Array
    public class CompactHashSetTest extends TestCase {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/unique/clone.go

    		case abi.Struct:
    			buildStructCloneSeq(f.Typ, seq, baseOffset+f.Offset)
    		case abi.Array:
    			buildArrayCloneSeq(f.Typ, seq, baseOffset+f.Offset)
    		}
    	}
    }
    
    // buildArrayCloneSeq populates a cloneSeq for an abi.Type that has Kind abi.Array.
    func buildArrayCloneSeq(typ *abi.Type, seq *cloneSeq, baseOffset uintptr) {
    	atyp := typ.ArrayType()
    	etyp := atyp.Elem
    	offset := baseOffset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GUtilTest.groovy

            toWords(".") == ""
            toWords("_") == ""
        }
    
        def "flattens maps and arrays"() {
            expect:
            flatten([[1], [foo: 'bar']]) == [1, 'bar']
    
            Object[] array = [1]
            flatten([array, [foo: 'bar']]) == [1, 'bar']
        }
    
        def "flattening of maps controls flatting of arrays"() {
            //documenting current functionality, not sure if the functionality is a good one
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/api/specs/CompositeSpec.java

                return false;
            }
    
            CompositeSpec<?> that = (CompositeSpec<?>) o;
            return Arrays.equals(specs, that.specs);
        }
    
        @Override
        public final int hashCode() {
            int result = getClass().hashCode();
            result = 31 * result + Arrays.hashCode(specs);
            return result;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/parse_example.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false -tf-output-arrays=result %s | FileCheck %s
    
    # CHECK: %[[output:.*]], %[[control:.*]]tf_executor.island wraps "tf.ParseExample"
    # CHECK: operandSegmentSizes = array<i32: 1, 1, 0, 1, 1>
    # CHECK: resultSegmentSizes = array<i32: 0, 0, 0, 1>
    # CHECK: tf_executor.fetch %[[output]] : tensor<*xi64>
    
    node {
      name: "serilaized"
      op: "Const"
      attr {
        key: "dtype"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

      private static void testSortDescending(byte[] input, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        SignedBytes.sortDescending(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testSortDescending(
          byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        SignedBytes.sortDescending(input, fromIndex, toIndex);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. test/fixedbugs/issue30116.go

    // This test makes sure the text output for bounds check failures is as expected.
    
    package main
    
    import (
    	"fmt"
    	"os"
    	"runtime"
    	"text/tabwriter"
    )
    
    // Testing with length 3 slices, arrays, and strings.
    // Large (>1<<32) values are included to test 32-bit platforms.
    var indexes = []int64{-9876543210, -1, 0, 2, 3, 9876543210}
    var slices = []int64{-9876543210, -1, 0, 3, 4, 9876543210}
    
    var w *tabwriter.Writer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 17:33:38 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  8. test/fixedbugs/issue30116u.go

    // This test makes sure the text output for bounds check failures is as expected.
    
    package main
    
    import (
    	"fmt"
    	"os"
    	"runtime"
    	"text/tabwriter"
    )
    
    // Testing with length 3 slices, arrays, and strings.
    // A large (>1<<32) value is included to test 32-bit platforms.
    var indexes = []uint64{0, 2, 3, 1<<32 - 1, 1<<64 - 1}
    var slices = []uint64{0, 3, 4, 1<<32 - 1, 1<<64 - 1}
    
    var w *tabwriter.Writer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 17:33:38 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

      private static void testSortDescending(byte[] input, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        SignedBytes.sortDescending(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testSortDescending(
          byte[] input, int fromIndex, int toIndex, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        SignedBytes.sortDescending(input, fromIndex, toIndex);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

          return standardRetainAll(collection);
        }
    
        @Override
        public Object[] toArray() {
          return standardToArray();
        }
    
        @Override
        public <T> T[] toArray(T[] array) {
          return standardToArray(array);
        }
    
        @Override
        public String toString() {
          return standardToString();
        }
    
        @Override
        public SortedSet<T> subSet(T fromElement, T toElement) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top