- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 131 for OK (8.23 sec)
-
guava-testlib/src/com/google/common/testing/GcFinalization.java
future.get(1L, SECONDS); return; } catch (CancellationException | ExecutionException ok) { return; } catch (InterruptedException ie) { throw new RuntimeException("Unexpected interrupt while waiting for future", ie); } catch (TimeoutException tryHarder) { /* OK */ } } while (System.nanoTime() - deadline < 0);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
if (method.getDeclaringClass().equals(TypeVariableImpl.class)) { try { method.setAccessible(true); } catch (AccessControlException e) { // OK: the method is accessible to us anyway. The setAccessible call is only for // unusual execution environments where that might not be true. } builder.put(method.getName(), method); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
/* * We always hold the mutex when calling this. TODO(cpovirk): Is that important? Perhaps we need * to guarantee that each call to reserveEarliestAvailable, etc. sees a value >= the previous? * Also, is it OK that we don't hold the mutex when sleeping? */ protected abstract long readMicros(); protected abstract void sleepMicrosUninterruptibly(long micros);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 18.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
Thread result = requireNonNull(platformThreadFactory().newThread(runnable)); try { result.setName(name); } catch (SecurityException e) { // OK if we can't set the name in this environment. } return result; } // TODO(lukes): provide overloads for ListeningExecutorService? ListeningScheduledExecutorService?
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 41.8K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
destIndex = sizeNeeded; } return new String(dest, 0, destIndex); } /** * Helper method to grow the character buffer as needed, this only happens once in a while so it's * ok if it's in a method call. If the index passed in is 0 then no copying will be done. */ private static char[] growBuffer(char[] dest, int index, int size) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
} public void testRemove_noneRemaining() { int countToRemove = 30; AtomicInteger current = new AtomicInteger(countToRemove); when(backingMap.get(KEY)).thenReturn(current); // it's ok if removal fails: another thread may have done the remove when(backingMap.remove(KEY, current)).thenReturn(false); assertEquals(countToRemove, multiset.remove(KEY, countToRemove)); assertEquals(0, current.get());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 14.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* only way to get a TypeVariable instance for the resolved types is to create our own. The * created TypeVariable will not interoperate with any JDK TypeVariable. But this is OK: We * don't _want_ our new TypeVariable to be equal to the JDK TypeVariable because it has * _different bounds_ than the JDK TypeVariable. And it wouldn't make sense for our new
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 24.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
} catch (IllegalStateException e) { /* expected */ } assertEquals( "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek()); /* Should recover to be able to remove() after next(). */ assertEquals("B", peekingIterator.next()); peekingIterator.remove();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
stats.put("process", getProcessObj()); stats.put("engine", getEngineObj()); stats.put("fs", getFsObj()); return asJson(new ApiStatsResponse().stats(stats).status(ApiResult.Status.OK).result()); } private FsObj[] getFsObj() { return Arrays.stream(File.listRoots()).map(f -> { final FsObj fsObj = new FsObj(); fsObj.path = f.getAbsolutePath();
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
throw new SmbAuthException("Login failed", e); } else if ( !sessResponse.isReceived() || sessResponse.isError() || ( sessResponse.getStatus() != NtStatus.NT_STATUS_OK && sessResponse.getStatus() != NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED ) ) { throw e; } ex = e;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 14 17:41:04 GMT 2021 - 49K bytes - Viewed (0)