Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 822 for nature (0.08 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertAssignable(
            TypeToken.of(new TypeCapture<L>() {}.capture()),
            TypeToken.of(new TypeCapture<L>() {}.capture()));
        assertNotAssignable(
            TypeToken.of(new TypeCapture<R>() {}.capture()),
            TypeToken.of(new TypeCapture<L>() {}.capture()));
        assertAssignable(TypeToken.of(new TypeCapture<L>() {}.capture()), new TypeToken<List<R>>() {});
      }
    
      public void testisSupertypeOf_resolved() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  2. CONTRIBUTING.md

    $ cd minio
    $ git remote add upstream https://github.com/minio/minio
    $ git fetch upstream
    $ git merge upstream/master
    ...
    ```
    
    ### Create your feature branch
    
    Before making code changes, make sure you create a separate branch for these changes
    
    ```
    git checkout -b my-new-feature
    ```
    
    ### Test MinIO server changes
    
    After your code changes, make sure
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Aug 05 18:35:53 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

    import java.util.concurrent.Executor;
    import java.util.concurrent.Future;
    import java.util.concurrent.RejectedExecutionException;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Future} that accepts completion listeners. Each listener has an associated executor, and
     * it is invoked using this executor once the future's computation is {@linkplain Future#isDone()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbWatchHandleTest.java

            try {
                Future<List<FileNotifyInformation>> future = executor.submit(() -> blockingHandle.watch());
    
                // Verify timeout occurs
                assertThrows(TimeoutException.class, () -> {
                    future.get(100, TimeUnit.MILLISECONDS);
                });
    
                // Cancel the future
                future.cancel(true);
            } finally {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ListenableFuture.java

    import java.util.concurrent.Executor;
    import java.util.concurrent.Future;
    import java.util.concurrent.RejectedExecutionException;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Future} that accepts completion listeners. Each listener has an associated executor, and
     * it is invoked using this executor once the future's computation is {@linkplain Future#isDone()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

    import java.util.concurrent.Executor;
    import java.util.concurrent.Future;
    import java.util.concurrent.RejectedExecutionException;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link Future} that accepts completion listeners. Each listener has an associated executor, and
     * it is invoked using this executor once the future's computation is {@linkplain Future#isDone()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          MockExecutor mock = new MockExecutor();
          TestExecutor testExecutor = new TestExecutor(mock);
          Future<?> f = testExecutor.submit(doNothing());
          mock.assertLastMethodCalled("submit");
          f.get();
        }
        {
          MockExecutor mock = new MockExecutor();
          TestExecutor testExecutor = new TestExecutor(mock);
          Future<String> f = testExecutor.submit(doNothing(), RESULT_VALUE);
          mock.assertLastMethodCalled("submit");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

            TestHandleReconnector testReconnector = new TestHandleReconnector(mockManager, true);
    
            CompletableFuture<HandleInfo> future = testReconnector.reconnectHandle("/test/file.txt", new IOException("Network error"));
    
            HandleInfo result = future.get();
            assertNotNull(result);
            assertEquals(testHandle, result);
    
            verify(mockManager).completeReconnect("/test/file.txt", true);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

            /**
             * Gets the future for asynchronous notification completion
             * @return the notification future
             */
            public CompletableFuture<Void> getNotificationFuture() {
                return notificationFuture;
            }
    
            /**
             * Sets the future for asynchronous notification completion
             * @param future the notification future to set
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

        }
      }
    
      private enum Result {
        SUCCESS(immediateFuture(new Object())),
        FAILURE(immediateFailedFuture(new Exception()));
    
        final Future<Object> future;
    
        Result(Future<Object> result) {
          this.future = result;
        }
      }
    
      private enum ExceptionType {
        CHECKED(IOException.class),
        UNCHECKED(RuntimeException.class);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top