Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,325 for _arrays (0.07 sec)

  1. guava/src/com/google/common/util/concurrent/Striped.java

          this.array = new Object[mask + 1];
          for (int i = 0; i < array.length; i++) {
            array[i] = supplier.get();
          }
        }
    
        @SuppressWarnings("unchecked") // we only put L's in the array
        @Override
        public L getAt(int index) {
          return (L) array[index];
        }
    
        @Override
        public int size() {
          return array.length;
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

       * lies outside the stated safe range. Subclasses should override this method to provide
       * generalized escaping for characters.
       *
       * <p>Note that arrays returned by this method must not be modified once they have been returned.
       * However it is acceptable to return the same array multiple times (even for different input
       * characters).
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.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();
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        String[] array = Iterables.toArray(iterable, String.class);
        assertTrue(Arrays.equals(new String[0], array));
      }
    
      @GwtIncompatible // Iterables.toArray(Iterable, Class)
      public void testToArraySingleton() {
        Iterable<String> iterable = singletonList("a");
        String[] array = Iterables.toArray(iterable, String.class);
        assertTrue(Arrays.equals(new String[] {"a"}, array));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          }
        }
        return null;
      }
    
      private static <T> T createEmptyArray(Class<T> arrayType) {
        // getComponentType() is non-null because we call createEmptyArray only with an array type.
        return arrayType.cast(Array.newInstance(requireNonNull(arrayType.getComponentType()), 0));
      }
    
      // Internal implementations of some classes, with public default constructor that get() needs.
      private static final class Dummies {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/Fingerprint2011.java

        long b = (high ^ a) * K3;
        b ^= (b >>> 47);
        b *= K3;
        return b;
      }
    
      /**
       * Computes intermediate hash of 32 bytes of byte array from the given offset. Results are
       * returned in the output array - this is 12% faster than allocating new arrays every time.
       */
      private static void weakHashLength32WithSeeds(
          byte[] bytes, int offset, long seedA, long seedB, long[] output) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Dec 28 17:50:25 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  7. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ForwardingSetTest.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();
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java

     * the License.
     */
    
    package com.google.common.reflect;
    
    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.Method;
    import java.lang.reflect.Proxy;
    import java.util.Arrays;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract implementation of {@link InvocationHandler} that handles {@link Object#equals}, {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  10. misc/cgo/gmp/gmp.go

    arithmetic types.  A C struct translates to a Go struct, field by
    field; unrepresentable fields are replaced with opaque byte arrays.  A
    C union translates into a struct containing the first union member and
    perhaps additional padding.  C arrays become Go arrays.  C pointers
    become Go pointers.  C function pointers become Go's uintptr.
    C void pointers become Go's unsafe.Pointer.
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
Back to top