Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1911 - 1920 of 6,873 for _return (0.06 sec)

  1. guava/src/com/google/common/util/concurrent/Uninterruptibles.java

      @GwtIncompatible // concurrency
      public static void awaitUninterruptibly(CountDownLatch latch) {
        boolean interrupted = false;
        try {
          while (true) {
            try {
              latch.await();
              return;
            } catch (InterruptedException e) {
              interrupted = true;
            }
          }
        } finally {
          if (interrupted) {
            Thread.currentThread().interrupt();
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

          this.gen = gen;
        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
        public Collection<E> create(Object... elements) {
          return SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 18 22:49:45 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

        assertTrue("containsValue(present) should return true", getMap().containsValue(v0()));
      }
    
      public void testContains_no() {
        assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES)
      public void testContains_nullNotContainedButAllowed() {
        assertFalse("containsValue(null) should return false", getMap().containsValue(null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

            if (eventSpies.isEmpty()) {
                return listener;
            }
            return new EventSpyExecutionListener(this, listener);
        }
    
        public RepositoryListener chainListener(RepositoryListener listener) {
            if (eventSpies.isEmpty()) {
                return listener;
            }
            return new EventSpyRepositoryListener(this, listener);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        }
        return comparator;
      }
    
      @Override
      public boolean containsKey(Object key) {
        try {
          return delegate.containsKey(checkValid(key));
        } catch (NullPointerException | ClassCastException e) {
          return false;
        }
      }
    
      @Override
      public boolean containsValue(Object value) {
        return delegate.containsValue(value);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

                version.append(ls).append("Terminal: ").append(terminal);
            }
            return version.toString();
        }
    
        public static String showVersionMinimal() {
            Properties properties = getBuildProperties();
            String version = reduce(properties.getProperty(BUILD_VERSION_PROPERTY));
            return (version != null ? version : "<version unknown>");
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

      }
    
      @Override
      int firstEntryIndex() {
        return firstEntry;
      }
    
      @Override
      int adjustAfterRemove(int indexBeforeRemove, int indexRemoved) {
        return (indexBeforeRemove >= size()) ? indexRemoved : indexBeforeRemove;
      }
    
      @Override
      public void clear() {
        if (needsAllocArrays()) {
          return;
        }
        this.firstEntry = ENDPOINT;
        this.lastEntry = ENDPOINT;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        return new StringSourceFactory();
      }
    
      public static ByteSourceFactory byteArraySourceFactory() {
        return new ByteArraySourceFactory();
      }
    
      public static ByteSourceFactory emptyByteSourceFactory() {
        return new EmptyByteSourceFactory();
      }
    
      public static CharSourceFactory emptyCharSourceFactory() {
        return new EmptyCharSourceFactory();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  9. docs_src/bigger_applications/app/routers/users.py

    router = APIRouter()
    
    
    @router.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "Rick"}, {"username": "Morty"}]
    
    
    @router.get("/users/me", tags=["users"])
    async def read_user_me():
        return {"username": "fakecurrentuser"}
    
    
    @router.get("/users/{username}", tags=["users"])
    async def read_user(username: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 29 17:32:18 UTC 2020
    - 407 bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top