- Sort Score
- Result 10 results
- Languages All
Results 1591 - 1600 of 4,648 for new1 (0.02 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* * <ul> * <li>returning the same iterator again * <li>throwing an exception of some kind * <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations * have, of returning a new, independent iterator * </ul> * * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
return ((SrvPipePeekResponse) resp.getOutputData()).getReadDataAvailable(); } final TransPeekNamedPipe req = new TransPeekNamedPipe(th.getConfig(), this.handle.getUncPath(), fd.getFid()); final TransPeekNamedPipeResponse resp = new TransPeekNamedPipeResponse(th.getConfig()); th.send(req, resp, RequestParam.NO_RETRY);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java
void setUp() throws Exception { this.factory = CycleDetectingLockFactory.newInstance(CycleDetectingLockFactory.Policies.WARN); this.plainLocks = new Lock[lockNestingDepth]; for (int i = 0; i < lockNestingDepth; i++) { plainLocks[i] = new ReentrantLock(); } this.detectingLocks = new Lock[lockNestingDepth]; for (int i = 0; i < lockNestingDepth; i++) { detectingLocks[i] = factory.newReentrantLock("Lock" + i); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
@NullMarked public class TearDownStack implements TearDownAccepter { private static final Logger logger = Logger.getLogger(TearDownStack.class.getName()); @VisibleForTesting final Object lock = new Object(); @GuardedBy("lock") final Deque<TearDown> stack = new ArrayDeque<>(); private final boolean suppressThrows; public TearDownStack() { this.suppressThrows = false; } public TearDownStack(boolean suppressThrows) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TearDownStack.java
@NullMarked public class TearDownStack implements TearDownAccepter { private static final Logger logger = Logger.getLogger(TearDownStack.class.getName()); @VisibleForTesting final Object lock = new Object(); @GuardedBy("lock") final Deque<TearDown> stack = new ArrayDeque<>(); private final boolean suppressThrows; public TearDownStack() { this.suppressThrows = false; } public TearDownStack(boolean suppressThrows) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java
*/ public class ReadingConverterChain implements ReadingConverter { /** * Constructs a new {@link ReadingConverterChain}. */ public ReadingConverterChain() { // nothing } private final List<ReadingConverter> converters = new ArrayList<>(); @Override public void init() throws IOException { for (final ReadingConverter converter : converters) {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.5K bytes - Viewed (0) -
src/bytes/buffer.go
// // In most cases, new([Buffer]) (or just declaring a [Buffer] variable) is // sufficient to initialize a [Buffer]. func NewBuffer(buf []byte) *Buffer { return &Buffer{buf: buf} } // NewBufferString creates and initializes a new [Buffer] using string s as its // initial contents. It is intended to prepare a buffer to read an existing // string. // // In most cases, new([Buffer]) (or just declaring a [Buffer] variable) is
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 17:38:56 UTC 2025 - 16K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerTest.java
@NullUnmarked public class MapMakerTest extends TestCase { @GwtIncompatible // NullPointerTester public void testNullParameters() throws Exception { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(new MapMaker()); } @GwtIncompatible // threads static final class DelayingIdentityLoader<T> implements Function<T, T> { private final CountDownLatch delayLatch;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/TestingRemovalListeners.java
/** Returns a new no-op {@code RemovalListener}. */ static <K, V> NullRemovalListener<K, V> nullRemovalListener() { return new NullRemovalListener<>(); } /** Type-inferring factory method for creating a {@link QueuingRemovalListener}. */ @GwtIncompatible // ConcurrentLinkedQueue static <K, V> QueuingRemovalListener<K, V> queuingRemovalListener() { return new QueuingRemovalListener<>(); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0)