Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,833 for arrayT (0.12 sec)

  1. guava/src/com/google/common/collect/CompoundOrdering.java

          CompoundOrdering<?> that = (CompoundOrdering<?>) object;
          return Arrays.equals(this.comparators, that.comparators);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return Arrays.hashCode(comparators);
      }
    
      @Override
      public String toString() {
        return "Ordering.compound(" + Arrays.toString(comparators) + ")";
      }
    
      private static final long serialVersionUID = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. test/nilcheck.go

    	_ = *emptyp  // ERROR "nil check"
    	_ = *arrayp  // ERROR "nil check"
    }
    
    func f2() {
    	var (
    		intp       *int
    		arrayp     *[10]int
    		array0p    *[0]int
    		bigarrayp  *[1 << 20]int
    		structp    *Struct
    		bigstructp *BigStruct
    		emptyp     *Empty
    		empty1p    *Empty1
    	)
    
    	_ = *intp       // ERROR "nil check"
    	_ = *arrayp     // ERROR "nil check"
    	_ = *array0p    // ERROR "nil check"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 30 18:41:59 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

      // Class.cast is not supported in GWT.
      static void checkCast(Class<?> clazz, Object obj) {}
    
      static <T> T[] clone(T[] array) {
        return (T[]) Arrays.copyOfRange(array, 0, array.length);
      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      }
    
      /**
       * @return an array of the proper size with {@code null} as the key of the middle element.
       */
      protected Entry<K, V>[] createArrayWithNullKey() {
        Entry<K, V>[] array = createSamplesArray();
        int nullKeyLocation = getNullLocation();
        Entry<K, V> oldEntry = array[nullKeyLocation];
        array[nullKeyLocation] = Helpers.mapEntry(null, oldEntry.getValue());
        return array;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      }
    
      /**
       * @return an array of the proper size with {@code null} as the key of the middle element.
       */
      protected Entry<K, V>[] createArrayWithNullKey() {
        Entry<K, V>[] array = createSamplesArray();
        int nullKeyLocation = getNullLocation();
        Entry<K, V> oldEntry = array[nullKeyLocation];
        array[nullKeyLocation] = Helpers.mapEntry(null, oldEntry.getValue());
        return array;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        }
      }
    
      protected E[] createSamplesArray() {
        E[] array = getSubjectGenerator().createArray(getNumElements());
        getSampleElements().toArray(array);
        return array;
      }
    
      protected E[] createOrderedArray() {
        E[] array = getSubjectGenerator().createArray(getNumElements());
        getOrderedElements().toArray(array);
        return array;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. test/fixedbugs/issue54722b.go

    	node  *node[value[V]]
    	value V
    }
    
    type node[V comparable] struct {
    	index    *index[V]
    	children map[string]*node[V]
    }
    
    type index[V comparable] struct {
    	arrays []array[V]
    }
    
    type array[V comparable] struct {
    	valueMap map[int]V
    }
    
    var x value[int]
    var y value[*Column]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:23:27 UTC 2022
    - 523 bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        }
      }
    
      protected E[] createSamplesArray() {
        E[] array = getSubjectGenerator().createArray(getNumElements());
        getSampleElements().toArray(array);
        return array;
      }
    
      protected E[] createOrderedArray() {
        E[] array = getSubjectGenerator().createArray(getNumElements());
        getOrderedElements().toArray(array);
        return array;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/sizes.go

    	// For arrays and structs, alignment is defined in terms
    	// of alignment of the elements and fields, respectively.
    	switch t := under(T).(type) {
    	case *Array:
    		// spec: "For a variable x of array type: unsafe.Alignof(x)
    		// is the same as unsafe.Alignof(x[0]), but at least 1."
    		return s.Alignof(t.elem)
    	case *Struct:
    		if len(t.fields) == 0 && IsSyncAtomicAlign64(T) {
    			// Special case: sync/atomic.align64 is an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. test/nilptr3.go

    	_ = *arrayp  // ERROR "removed nil check"
    }
    
    func f2() {
    	var (
    		intp       *int
    		arrayp     *[10]int
    		array0p    *[0]int
    		bigarrayp  *[1 << 20]int
    		structp    *Struct
    		bigstructp *BigStruct
    		emptyp     *Empty
    		empty1p    *Empty1
    	)
    
    	_ = *intp       // ERROR "generated nil check"
    	_ = *arrayp     // ERROR "generated nil check"
    	_ = *array0p    // ERROR "generated nil check"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top