Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 250 for asarray (0.9 sec)

  1. android/guava/src/com/google/common/collect/Ordering.java

            // faster than using the implementation for Iterator, which is
            // specialized for k much smaller than n.
    
            @SuppressWarnings("unchecked") // c only contains E's and doesn't escape
            E[] array = (E[]) collection.toArray();
            Arrays.sort(array, this);
            if (array.length > k) {
              array = Arrays.copyOf(array, k);
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NodeBackedModelSet.java

        @Override
        public Iterator<T> iterator() {
            return getElements().iterator();
        }
    
        @Override
        public Object[] toArray() {
            return getElements().toArray();
        }
    
        @Override
        public <E> E[] toArray(E[] a) {
            return getElements().toArray(a);
        }
    
        @Override
        public boolean add(T e) {
            throw new UnsupportedOperationException();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedBytes.java

       * @since 23.1
       */
      public static void sort(byte[] array, int fromIndex, int toIndex) {
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
        Arrays.sort(array, fromIndex, toIndex);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. .idea/kotlinTestDataPluginTestDataPaths.xml

              <value>
                <array>
                  <option value="$PROJECT_DIR$/js/js.tests/build/node/{out,out-min,out-per-module,out-per-module-min}/codegen/{boxInline,irBoxInline,firBoxInline,firEs6BoxInline}/$TEST_DATA_FILE$_v5.js" />
                </array>
              </value>
            </entry>
            <entry key="$PROJECT_DIR$/compiler/testData/debug">
              <value>
                <array>
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 15 15:09:42 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

                    factoryParamMap.put(SmbClient.SMB_AUTHENTICATIONS_PROPERTY, smbAuthList.toArray(new SmbAuthentication[smbAuthList.size()]));
                }
                if (!smb1AuthList.isEmpty()) {
                    factoryParamMap.put(org.codelibs.fess.crawler.client.smb1.SmbClient.SMB_AUTHENTICATIONS_PROPERTY,
                            smb1AuthList.toArray(new org.codelibs.fess.crawler.client.smb1.SmbAuthentication[smb1AuthList.size()]));
                }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/Hashing.java

        // We can't use Iterables.toArray() here because there's no hash->collect dependency
        List<HashFunction> list = new ArrayList<>();
        for (HashFunction hashFunction : hashFunctions) {
          list.add(hashFunction);
        }
        checkArgument(!list.isEmpty(), "number of hash functions (%s) must be > 0", list.size());
        return new ConcatenatedHashFunction(list.toArray(new HashFunction[0]));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/LittleEndianByteArray.java

          // Shift value left while iterating logically through the array.
          result |= (input[offset + i] & 0xFFL) << (i * 8);
        }
        return result;
      }
    
      /**
       * Store 8 bytes into the provided array at the indicated offset, using the value provided.
       *
       * @param sink the output byte array
       * @param offset the offset into the array at which to start writing
       * @param value the value to write
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInStaticGroovyIntegrationTest.groovy

                ProcessGroovyMethodsExecute.execute(["some", "string"])
                ProcessGroovyMethodsExecute.execute(["some", "string"], ["array"] as String[], file("test"))
                ProcessGroovyMethodsExecute.execute(["some", "string"], ["array"], file("test"))
    
                execute("some string")
                execute("some string", ["array"] as String[], file("test"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. maven-di/src/main/java/org/apache/maven/di/impl/Binding.java

        }
    
        public static <R> Binding<R> to(Key<R> originalKey, TupleConstructorN<R> constructor, Class<?>[] types) {
            return Binding.to(
                    originalKey, constructor, Stream.of(types).map(Key::of).toArray(Key<?>[]::new));
        }
    
        public static <R> Binding<R> to(Key<R> originalKey, TupleConstructorN<R> constructor, Key<?>[] dependencies) {
            return to(originalKey, constructor, dependencies, 0);
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top