Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,093 for INSTANCE (0.06 sec)

  1. guava/src/com/google/common/collect/Cut.java

          return INSTANCE;
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /*
       * The implementation neither produces nor consumes any non-null instance of
       * type C, so casting the type parameter is safe.
       */
      @SuppressWarnings("unchecked")
      static <C extends Comparable> Cut<C> aboveAll() {
        return (Cut<C>) AboveAll.INSTANCE;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/AbstractGraphBuilder.java

      Optional<Integer> expectedNodeCount = Optional.absent();
    
      /**
       * Creates a new instance with the specified edge directionality.
       *
       * @param directed if true, creates an instance for graphs whose edges are each directed; if
       *     false, creates an instance for graphs whose edges are each undirected.
       */
      AbstractGraphBuilder(boolean directed) {
        this.directed = directed;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

         * @return this Ansi instance
         */
        public Ansi cursorToColumn(final int x) {
            return appendEscapeSequence('G', Math.max(1, x));
        }
    
        /**
         * Moves the cursor up. If the parameter y is negative it moves the cursor down.
         *
         * @param y the number of lines to move up
         * @return this Ansi instance
         */
        public Ansi cursorUp(final int y) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

            }
          };
    
      enum NullListener implements RemovalListener<Object, Object> {
        INSTANCE;
    
        @Override
        public void onRemoval(RemovalNotification<Object, Object> notification) {}
      }
    
      enum OneWeigher implements Weigher<Object, Object> {
        INSTANCE;
    
        @Override
        public int weigh(Object key, Object value) {
          return 1;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  5. mockwebserver/api/mockwebserver3.api

    }
    
    public final class mockwebserver3/SocketPolicy$DisconnectDuringRequestBody : mockwebserver3/SocketPolicy {
    	public static final field INSTANCE Lmockwebserver3/SocketPolicy$DisconnectDuringRequestBody;
    }
    
    public final class mockwebserver3/SocketPolicy$DisconnectDuringResponseBody : mockwebserver3/SocketPolicy {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. 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):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        for (Class<?> mutableClass : mutableClasses) {
          Object instance = ArbitraryInstances.get(mutableClass);
          assertNotNull("Expected to return non-null for: " + mutableClass, instance);
          assertNotSame(
              "Expected to return fresh instance for: " + mutableClass,
              instance,
              ArbitraryInstances.get(mutableClass));
        }
      }
    
      private enum EmptyEnum {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/resources/META-INF/maven/plugin-expressions/project.paramdoc.xml

      <version>0.0.0.0</version>
    </parent>
        ]]></configuration>
        <description> This is the MavenProject instance for the parent of the current POM.
        </description>
      </expression>
      <expression>
        <syntax>project.file</syntax>
        <description> This is the File instance that refers to the location of the current POM on
          disk.
        </description>
      </expression>
      <expression>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

        super(message);
      }
    
      /**
       * Creates a new instance with the given detail message and cause. Prefer to provide a
       * non-nullable {@code cause}, as many users expect to find one.
       */
      public UncheckedExecutionException(@CheckForNull String message, @CheckForNull Throwable cause) {
        super(message, cause);
      }
    
      /**
       * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        for (queue in TaskRunner.INSTANCE.activeQueues()) {
          // We wait at most 1 second, so we don't ever turn multiple lost threads into
          // a test timeout failure.
          val waitTime = (entryTime + 1_000_000_000L - System.nanoTime())
          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
            TaskRunner.INSTANCE.lock.withLock {
              TaskRunner.INSTANCE.cancelAll()
            }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top