Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for arrayFor (0.07 sec)

  1. internal/grid/types.go

    func (NoPayload) Recycle() {}
    
    // ArrayOf wraps an array of Messagepack compatible objects.
    type ArrayOf[T RoundTripper] struct {
    	aPool sync.Pool // Arrays
    	ePool sync.Pool // Elements
    }
    
    // NewArrayOf returns a new ArrayOf.
    // You must provide a function that returns a new instance of T.
    func NewArrayOf[T RoundTripper](newFn func() T) *ArrayOf[T] {
    	return &ArrayOf[T]{
    		ePool: sync.Pool{New: func() any {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

                    metadataVersion = annotation.getMemberValue("mv")?.intArrayValue ?: IntArray(0),
                    data1 = annotation.getMemberValue("d1")?.stringArrayValue ?: arrayOf(),
                    data2 = annotation.getMemberValue("d2")?.stringArrayValue ?: arrayOf(),
                    extraString = annotation.getMemberValue("xs")?.stringValue ?: "",
                    packageName = annotation.getMemberValue("pn")?.stringValue ?: "",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 12:41:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

    import java.util.Properties
    
    
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class UpdateInitPluginTemplateVersionFile : DefaultTask() {
    
        private
        val devSuffixes = arrayOf(
            "-SNAP\\d+",
            "-SNAPSHOT",
            "-alpha.*\\d+",
            "-beta.*\\d+",
            "-dev-?\\d+",
            "-dev-\\d+-\\d+",
            "-rc-?\\d+",
            "-M.+",
            "-eap-?\\d+"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

     */
    object BuildEnvironment {
    
        /**
         * A selection of environment variables injected into the environment by the `codeql-env.sh` script.
         */
        private
        val CODEQL_ENVIRONMENT_VARIABLES = arrayOf(
            "CODEQL_JAVA_HOME",
            "CODEQL_EXTRACTOR_JAVA_SCRATCH_DIR",
            "CODEQL_ACTION_RUN_MODE",
            "CODEQL_ACTION_VERSION",
            "CODEQL_DIST",
            "CODEQL_PLATFORM",
            "CODEQL_RUNNER"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      @GwtIncompatible // SerializableTester
      public void testKeySetIsSerializable_jdkBackedImmutableMap() {
        class NonSerializableClass {}
    
        Entry<String, NonSerializableClass>[] entries =
            arrayOf(ImmutableMap.entryOf("one", new NonSerializableClass()));
    
        ImmutableMap<String, NonSerializableClass> map =
            JdkBackedImmutableMap.create(1, entries, /* throwIfDuplicateKeys= */ true);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterators.java

          return emptyListIterator();
        }
        return new ArrayItr<>(array, position);
      }
    
      private static final class ArrayItr<T extends @Nullable Object>
          extends AbstractIndexedListIterator<T> {
        static final UnmodifiableListIterator<Object> EMPTY = new ArrayItr<>(new Object[0], 0);
    
        private final T[] array;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        // Type inference is doomed here: int.class is the same as Integer.class, so this is comparing
        // TypeToken<int[]> and TypeToken<Integer[]>.
        assertEquals(new TypeToken<int[]>() {}, arrayOf(int.class));
        assertEquals(int[].class, arrayOf(int.class).getRawType());
      }
    
      @SuppressWarnings("unused") // used by reflection
      private static class Holder<T> {
        List<T>[] matrix;
    
        void setList(List<T> list) {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        // Type inference is doomed here: int.class is the same as Integer.class, so this is comparing
        // TypeToken<int[]> and TypeToken<Integer[]>.
        assertEquals(new TypeToken<int[]>() {}, arrayOf(int.class));
        assertEquals(int[].class, arrayOf(int.class).getRawType());
      }
    
      @SuppressWarnings("unused") // used by reflection
      private static class Holder<T> {
        List<T>[] matrix;
    
        void setList(List<T> list) {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
Back to top