Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 213 for asarray (3.44 sec)

  1. maven-di/src/main/java/org/apache/maven/di/impl/Types.java

        }
    
        /**
         * Returns an array of actual type arguments for a given {@link Type}
         *
         * @param type type whose actual type arguments should be retrieved
         * @return an array of actual type arguments for a given {@link Type}
         */
        public static Type[] getActualTypeArguments(Type type) {
            if (type instanceof Class) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. tests/create_test.go

    		}
    	})
    
    	t.Run("Array", func(t *testing.T) {
    		pets := [...]Pet{{
    			Name: "PolymorphicHasOne-Array-1",
    			Toy:  Toy{Name: "Toy-PolymorphicHasOne-Array-1"},
    		}, {
    			Name: "PolymorphicHasOne-Array-2",
    			Toy:  Toy{Name: "Toy-PolymorphicHasOne-Array-2"},
    		}, {
    			Name: "PolymorphicHasOne-Array-3",
    			Toy:  Toy{Name: "Toy-PolymorphicHasOne-Array-3"},
    		}}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/InstrumentedPropertiesResourceGenerator.java

                    Type returnType = intercepted.getReturnType().getType();
                    Type[] parameterTypes = intercepted.getParameters().stream()
                        .map(ParameterInfo::getParameterType)
                        .toArray(Type[]::new);
                    return new ReplacedAccessor(intercepted.getCallableName(), Type.getMethodDescriptor(returnType, parameterTypes), requestExtra.getBinaryCompatibility());
                })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        if (rawType.isEnum()) {
          return pickInstance(rawType.getEnumConstants(), null);
        }
        if (type.isArray()) {
          TypeToken<?> componentType = requireNonNull(type.getComponentType());
          Object array = Array.newInstance(componentType.getRawType(), 1);
          Array.set(array, 0, generate(componentType));
          return array;
        }
        Method emptyGenerate = EMPTY_GENERATORS.get(rawType);
        if (emptyGenerate != null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-asm/src/main/java/org/gradle/model/internal/asm/AsmClassGeneratorUtils.java

            if (type.isPrimitive()) {
                builder.append(descriptorOf(type));
            } else {
                String binaryName = type.getName().replace('.', '/');
                if (type.isArray()) {
                    builder.append(binaryName);
                } else {
                    builder.append('L');
                    builder.append(binaryName);
                    builder.append(';');
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 15:31:25 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public @Nullable Object[] toArray() {
          // creating an ArrayList so filtering happens once
          return Lists.newArrayList(iterator()).toArray();
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          return Lists.newArrayList(iterator()).toArray(array);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public @Nullable Object[] toArray() {
          // creating an ArrayList so filtering happens once
          return Lists.newArrayList(iterator()).toArray();
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          return Lists.newArrayList(iterator()).toArray(array);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  8. src/cmd/internal/goobj/objfile.go

    // - If PkgIdx is PkgIdxNone, SymIdx is the index of the symbol in the
    //   NonPkgDefs array (could naturally overflow to NonPkgRefs array).
    // - Otherwise, SymIdx is the index of the symbol in some other package's
    //   SymbolDefs array.
    //
    // {0, 0} represents a nil symbol. Otherwise PkgIdx should not be 0.
    //
    // Hash contains the content hashes of content-addressable symbols, of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Synchronized.java

        @Override
        public @Nullable Object[] toArray() {
          synchronized (mutex) {
            return delegate().toArray();
          }
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] a) {
          synchronized (mutex) {
            return delegate().toArray(a);
          }
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Synchronized.java

        @Override
        public @Nullable Object[] toArray() {
          synchronized (mutex) {
            return delegate().toArray();
          }
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] a) {
          synchronized (mutex) {
            return delegate().toArray(a);
          }
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 57.3K bytes
    - Viewed (0)
Back to top