- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for shim (0.31 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
// It is necessary here because otherwise the builder() method // would be inherited from the emulated ImmutableSet. // TODO(cpovirk): should we be including other methods from the shim here and // in ImmutableSortedMap? @Deprecated public static <E> ImmutableSortedSet.Builder<E> builder() { throw new UnsupportedOperationException(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
public static String dec_utf8 ( byte[] src, int si, int slim ) throws IOException { char[] uni = new char[slim - si]; int ui, ch; for ( ui = 0; si < slim && ( ch = src[ si++ ] & 0xFF ) != 0; ui++ ) { if ( ch < 0x80 ) { uni[ ui ] = (char) ch; } else if ( ( ch & 0xE0 ) == 0xC0 ) { if ( ( slim - si ) < 2 ) { break;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Callables.java
import java.util.concurrent.Callable; import org.checkerframework.checker.nullness.qual.Nullable; /** * Static utility methods pertaining to the {@link Callable} interface. * * @author Isaac Shum * @since 1.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public final class Callables { private Callables() {}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 18:32:03 GMT 2023 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/RC4.java
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
import java.util.Map.Entry; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; /** * Superclass for tests for {@link Maps#transformValues} overloads. * * @author Isaac Shum */ @GwtCompatible @ElementTypesAreNonnullByDefault abstract class AbstractMapsTransformValuesTest extends MapInterfaceTest<String, String> { public AbstractMapsTransformValuesTest() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 9.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a * hint, so this technique may fail at the whim of the JDK implementation, for example if a user * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for * ordinary tests. *
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-tests/test/com/google/common/collect/MapsTransformValuesTest.java
import com.google.common.base.Function; import com.google.common.base.Functions; import java.util.Map; /** * Tests for {@link Maps#transformValues(Map, Function)}. * * @author Isaac Shum */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest { @Override protected Map<String, String> makeEmptyMap() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
try { japaneseToSpanish.apply("Ni"); fail(); } catch (IllegalArgumentException e) { } assertEquals("Tres", japaneseToSpanish.apply("San")); try { japaneseToSpanish.apply("Shi"); fail(); } catch (IllegalArgumentException e) { } new EqualsTester() .addEqualityGroup(japaneseToSpanish, Functions.compose(integerToSpanish, japaneseToInteger))
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 16K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
try { japaneseToSpanish.apply("Ni"); fail(); } catch (IllegalArgumentException e) { } assertEquals("Tres", japaneseToSpanish.apply("San")); try { japaneseToSpanish.apply("Shi"); fail(); } catch (IllegalArgumentException e) { } new EqualsTester() .addEqualityGroup(japaneseToSpanish, Functions.compose(integerToSpanish, japaneseToInteger))
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 16K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
import java.util.concurrent.ExecutionException; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit tests for {@link Callables}. * * @author Isaac Shum */ @GwtCompatible(emulated = true) public class CallablesTest extends TestCase { @J2ktIncompatible // TODO(b/324550390): Enable public void testReturning() throws Exception {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 5.4K bytes - Viewed (0)