- Sort Score
- Result 10 results
- Languages All
Results 1311 - 1320 of 4,816 for newE (0.04 sec)
-
guava/src/com/google/common/collect/DiscreteDomain.java
return IntegerDomain.INSTANCE; } private static final class IntegerDomain extends DiscreteDomain<Integer> implements Serializable { private static final IntegerDomain INSTANCE = new IntegerDomain(); IntegerDomain() { super(true); } @Override @CheckForNull public Integer next(Integer value) { int i = value;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
String p = getProperty( key ); if( p != null ) { StringTokenizer tok = new StringTokenizer( p, delim ); int len = tok.countTokens(); InetAddress[] arr = new InetAddress[len]; for( int i = 0; i < len; i++ ) { String addr = tok.nextToken(); try {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredKeyMultimap.java
public Collection<V> get(@ParametricNullness K key) { if (keyPredicate.apply(key)) { return unfiltered.get(key); } else if (unfiltered instanceof SetMultimap) { return new AddRejectingSet<>(key); } else { return new AddRejectingList<>(key); } } static class AddRejectingSet<K extends @Nullable Object, V extends @Nullable Object> extends ForwardingSet<V> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.1K bytes - Viewed (0) -
internal/cachevalue/cache.go
// Managed values. val atomic.Pointer[T] lastUpdateMs atomic.Int64 updating sync.Mutex } // New allocates a new cached value instance. Tt must be initialized with // `.TnitOnce`. func New[T any]() *Cache[T] { return &Cache[T]{} } // NewFromFunc allocates a new cached value instance and initializes it with an // update function, making it ready for use.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 12:50:46 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
* * <pre> * String[] y = x.toArray(new String[0]);</pre> * * <p>Note that {@code toArray(new Object[0])} is identical in function to {@code toArray()}. * * @param a the array into which the elements of the queue are to be stored, if it is big enough; * otherwise, a new array of the same runtime type is allocated for this purpose
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 07 21:36:32 UTC 2024 - 19K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Base64.java
*/ public static byte[] decode(String string) { int length = string.length(); if (length == 0) return new byte[0]; int pad = (string.charAt(length - 2) == '=') ? 2 : (string.charAt(length - 1) == '=') ? 1 : 0; int size = length * 3 / 4 - pad; byte[] buffer = new byte[size]; int block; int i = 0; int index = 0; while (i < length) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.7K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java
Files.writeString(envPath, "foo=bar-env\nfoo-env=bar\n"); Properties p = new Properties(); p.put("user.home", userDirectory.toString()); MavenPropertiesLoader.loadProperties(p, mavenUserProps, p::getProperty, false); assertEquals("bar", p.getProperty("foo")); assertNull(p.getProperty("foo-env")); p = new Properties(); p.put("user.home", userDirectory.toString());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java
private ModelVersionParser versionParser = new DefaultModelVersionParser(new GenericVersionScheme()); private Version newVersion(String version) { return versionParser.parseVersion(version); } private VersionRange parseValid(String range) { try { return versionParser.parseVersionRange(range); } catch (VersionParserException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java
public final Entry<String, String>[] createArray(int length) { return (Entry<String, String>[]) new Entry<?, ?>[length]; } @Override public final String[] createKeyArray(int length) { return new String[length]; } @Override public final String[] createValueArray(int length) { return new String[length]; } /** Returns the original element list, unchanged. */ @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
} public static <T> Callable<T> callableThrowing(final Exception exception) { return new Callable<T>() { @Override public T call() throws Exception { throw exception; } }; } private static Runnable runnableThrowing(final RuntimeException e) { return new Runnable() { @Override public void run() { throw e; } }; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4K bytes - Viewed (0)