Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,145 for instance (0.27 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/KotlinInternalFilter.groovy

        boolean matches(CtClass ctClass) {
            return KotlinMetadataQueries.INSTANCE.isKotlinInternal(ctClass)
        }
    
        @Override
        boolean matches(CtField ctField) {
            return KotlinMetadataQueries.INSTANCE.isKotlinInternal(ctField)
        }
    
        @Override
        boolean matches(CtBehavior ctBehavior) {
            return KotlinMetadataQueries.INSTANCE.isKotlinInternal(ctBehavior)
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/context/SingletonContext.java

        private static SingletonContext INSTANCE;
    
    
        /**
         * Initialize singleton context using custom properties
         * 
         * This method can only be called once.
         * 
         * @param props
         * @throws CIFSException
         */
        public static synchronized final void init ( Properties props ) throws CIFSException {
            if ( INSTANCE != null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 08:53:08 GMT 2019
    - 4.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/EqualsTester.java

              item.hashCode(),
              item.hashCode());
          if (!(item instanceof String)) {
            assertTrue(
                item + " must not be Object#equals to its Object#toString representation",
                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

    /**
     * Utility functions for loading and storing values from a byte array.
     *
     * @author Kevin Damm
     * @author Kyle Maddison
     */
    @ElementTypesAreNonnullByDefault
    final class LittleEndianByteArray {
    
      /** The instance that actually does the work; delegates to Unsafe or a pure-Java fallback. */
      private static final LittleEndianBytes byteArray;
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  5. maven-compat/src/main/resources/META-INF/maven/plugin.xml

              <description>The current MavenProject instance, for building a new MojoBinding instance.</description>
            </parameter>
            <parameter>
              <name>session</name>
              <type>org.apache.maven.execution.MavenSession</type>
              <required>true</required>
              <editable>false</editable>
              <description>The current MavenSession instance, which will handle the fork context.</description>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue May 28 09:19:32 GMT 2013
    - 9.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Absent.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Absent<T> extends Optional<T> {
      static final Absent<Object> INSTANCE = new Absent<>();
    
      @SuppressWarnings("unchecked") // implementation is "fully variant"
      static <T> Optional<T> withType() {
        return (Optional<T>) INSTANCE;
      }
    
      private Absent() {}
    
      @Override
      public boolean isPresent() {
        return false;
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Absent.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Absent<T> extends Optional<T> {
      static final Absent<Object> INSTANCE = new Absent<>();
    
      @SuppressWarnings("unchecked") // implementation is "fully variant"
      static <T> Optional<T> withType() {
        return (Optional<T>) INSTANCE;
      }
    
      private Absent() {}
    
      @Override
      public boolean isPresent() {
        return false;
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      }
    
      private static GetCheckedTypeValidator nonCachingWithoutConstructorCheckValidator() {
        return NonCachingWithoutConstructorCheckValidator.INSTANCE;
      }
    
      private enum NonCachingWithoutConstructorCheckValidator implements GetCheckedTypeValidator {
        INSTANCE;
    
        @Override
        public void validateClass(Class<? extends Exception> exceptionClass) {
          checkArgument(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 22 03:01:34 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  9. tests/test_jsonable_encoder.py

            pass
    
        class MyModel(BaseModel):
            dt_field: safe_datetime
    
        instance = MyModel(dt_field=safe_datetime.now())
    
        encoded_instance = jsonable_encoder(
            instance, custom_encoder={safe_datetime: lambda o: o.isoformat()}
        )
        assert encoded_instance["dt_field"] == instance.dt_field.isoformat()
    
    
    def test_custom_enum_encoders():
        def custom_enum_encoder(v: Enum):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

              item.hashCode(),
              item.hashCode());
          if (!(item instanceof String)) {
            assertTrue(
                item + " must not be Object#equals to its Object#toString representation",
                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top