- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for harb (0.15 sec)
-
guava/src/com/google/common/annotations/VisibleForTesting.java
* bad design, and it does not prevent anyone from using the declaration---and experience has shown * that they will. If the method breaks the encapsulation of its class, then its internal * representation will be hard to change. Instead, use <a * href="http://errorprone.info/bugpattern/RestrictedApi">RestrictedApiChecker</a>, which enforces * fine-grained visibility policies. * * @author Johannes Henkel */ @GwtCompatible
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Jan 30 22:25:16 GMT 2023 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
public Object handleInvocation(Object proxy, Method method, Object[] args) { // Crude, but acceptable until we can use Java 8. Other // methods have default implementations, and it is hard to // distinguish. if (method.getName().equals(JUF_METHODS.get(typeName))) { return getDefaultValue(type.method(method).getReturnType()); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingMapTest.java
public Object handleInvocation(Object proxy, Method method, Object[] args) { // Crude, but acceptable until we can use Java 8. Other // methods have default implementations, and it is hard to // distinguish. if (method.getName().equals(JUF_METHODS.get(typeName))) { return getDefaultValue(type.method(method).getReturnType()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 12.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
* world. Figure out what sort of space-time tradeoff we're actually going to get here with the * *Map variants. This class is particularly hard to benchmark, because the benefit is not only in * less allocation, but also having the GC do less work to scan the heap because of fewer * references, which is particularly hard to quantify. */ /** Creates an empty {@code CompactHashMap} instance. */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 39.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
wouldn't suit the works!' he added looking angrily at the March Hare. `It was the BEST butter,' the March Hare meekly replied. `Yes, but some crumbs must have got in as well,' the Hatter grumbled: `you shouldn't have put it in with the bread-knife.' The March Hare took the watch and looked at it gloomily: then he dipped it into his cup of tea, and looked at it again: but he
Plain Text - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 29 21:35:03 GMT 2012 - 145.2K bytes - Viewed (0) -
android/guava/src/com/google/common/annotations/VisibleForTesting.java
* bad design, and it does not prevent anyone from using the declaration---and experience has shown * that they will. If the method breaks the encapsulation of its class, then its internal * representation will be hard to change. Instead, use <a * href="http://errorprone.info/bugpattern/RestrictedApi">RestrictedApiChecker</a>, which enforces * fine-grained visibility policies. * * @author Johannes Henkel */ @GwtCompatible
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 30 22:25:16 GMT 2023 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
assertNotWellFormed(0xF0, 0xA4, 0xAD, 0xC0); // Special cases for byte2 assertNotWellFormed(0xF0, 0x8F, 0xAD, 0xA2); assertNotWellFormed(0xF4, 0x90, 0xAD, 0xA2); } /** Tests some hard-coded test cases. */ public void testSomeSequences() { // Empty assertWellFormed(); // One-byte characters, including control characters
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
// since, after all, this class is also a reentrant mutual exclusion lock!? /* * One of the key challenges of this class is to prevent lost signals, while trying hard to * minimize unnecessary signals. One simple and correct algorithm is to signal some other waiter * with a satisfied guard (if one exists) whenever any thread occupying the monitor exits the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 18:22:01 GMT 2023 - 38.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* gigantic heap, in which case we scale by heap size. */ private static long timeoutSeconds() { // This class can make no hard guarantees. The methods in this class are inherently flaky, but // we try hard to make them robust in practice. We could additionally try to add in a system // load timeout multiplier. Or we could try to use a CPU time bound instead of wall clock time
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* gigantic heap, in which case we scale by heap size. */ private static long timeoutSeconds() { // This class can make no hard guarantees. The methods in this class are inherently flaky, but // we try hard to make them robust in practice. We could additionally try to add in a system // load timeout multiplier. Or we could try to use a CPU time bound instead of wall clock time
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)