Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 669 for type1 (0.03 seconds)

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

      /**
       * This atrocity is here to let us report several of the elements in the stream if there were more
       * than one, not just two.
       */
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      private static final class ToOptionalState {
        static final int MAX_EXTRAS = 4;
    
        @Nullable Object element;
        List<Object> extras;
    
        ToOptionalState() {
          element = null;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Platform.java

      }
    
      /**
       * Returns a new array of the given length with the same type as a reference array.
       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
       * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java

        }
      }
    
      private enum PlatformSpecificExceptionBatch {
        PLATFORM {
          @GwtIncompatible
          @J2ktIncompatible
          @Override
          // returns the types available in "normal" environments
          ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
            return ImmutableMap.of(
                InvocationTargetException.class,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  4. architecture/standards/0008-use-nullaway.md

    * Bridging with Kotlin code is polluted with platform types
    * Some public APIs have incorrect nullability annotations (both overly restrictive and overly permissive)
    
    While there are competing ways to represent absence (`Optional`, "Null Object" pattern, method overloads),
    it is unlikely that we'll be able to remove `null` entirely.
    
    After migrating to Java 8, we can use pluggable type checkers to ensure that our annotations are consistent, 
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:40 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml

            -->
    
            <!-- Imports -->
            <module name="RedundantImport"/>
            <module name="UnusedImports"/>
            <module name="IllegalImport">
                <!--
                    We shouldn't use jdk.internal types.
    
                    com.beust and org.testng.collections has classes that look like Guava.
                -->
                <property name="illegalPkgs" value="jdk.internal,com.beust,org.testng.collections"/>
                <!--
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:25 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/CacheBuilder.java

       * the cache, but only the "generic" one is type-safe. That is, it will properly prevent you from
       * building caches whose key or value types are incompatible with the types accepted by the
       * weigher already provided; the {@code CacheBuilder} type cannot do this. For best results,
       * simply use the standard method-chaining idiom, as illustrated in the documentation at top,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 51.9K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.35.md

    - Kubernetes API Go types removed runtime use of the `github.com/gogo/protobuf` library, and are no longer registered into the global gogo type registry. Kubernetes API Go types were not suitable for use with the `google.golang.org/protobuf` library, and no longer implement `ProtoMessage()` by default to avoid accidental incompatible use. If removal...
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Dec 17 13:01:55 GMT 2025
    - 228.5K bytes
    - Click Count (0)
  8. schema/field.go

    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/utils"
    )
    
    // special types' reflect type
    var (
    	TimeReflectType    = reflect.TypeOf(time.Time{})
    	TimePtrReflectType = reflect.TypeOf(&time.Time{})
    	ByteReflectType    = reflect.TypeOf(uint8(0))
    )
    
    type (
    	// DataType GORM data type
    	DataType string
    	// TimeType GORM time type
    	TimeType int64
    )
    
    // GORM time types
    const (
    	UnixTime        TimeType = 1
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Nov 22 03:14:36 GMT 2025
    - 32.2K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

    import org.apache.maven.api.cache.CacheMetadata;
    import org.apache.maven.api.cache.CacheRetention;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Factory methods for creating different types of sources.
     * <p>
     * This class provides specialized source implementations for different use cases:
     * <ul>
     *   <li>Path sources - simple access to file content</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of different types of map and related collections, such as keys, entries and values.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @NullMarked
    public class MapGenerators {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 8.6K bytes
    - Click Count (0)
Back to Top