- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 1,029 for callEnd (0.05 seconds)
-
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false)); // If ensureOpen is called, fail the test doThrow(new AssertionError("ensureOpen should not be called")).when(raf).ensureOpen(); raf.write(new byte[1], 0, 0); } @Test @DisplayName("Null inputs: read(byte[]) and write* with nulls throw NPE") void nullInputs_throwNPE() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Crc32cHashFunction.java
private int crc2 = 0; private int crc3 = 0; @Override protected void process(ByteBuffer bb) { if (finished) { throw new IllegalStateException( "The behavior of calling any method after calling hash() is undefined."); } while (bb.remaining() >= 16) { crc0 = computeForWord(crc0); crc1 = computeForWord(crc1); crc2 = computeForWord(crc2);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 21.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Bytes.java
* in the manner of {@link Number#byteValue}. * * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}. * Calling this method is as thread-safe as calling that method. * * @param collection a collection of {@code Number} instances * @return an array containing the same values as {@code collection}, in the same order, convertedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 15.6K bytes - Click Count (0) -
architecture/build-state-model.md
The build state is managed by the `BuildState` class. An instance is created for each build in the build definition, once per build execution and is discarded at the end of the execution. The build state also includes what is currently called the "Gradle state". The Gradle state is being merged into the build state and is mostly empty. ### Project state
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed May 22 13:39:49 GMT 2024 - 3.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
UnsupportedOperationException.class, () -> getMap() .computeIfAbsent( k3(), k -> { // allowed to be called assertEquals(k3(), k); return v3(); })); expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 6.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractIdleService.java
* this method to use a custom {@link Executor}, which may configure its worker thread with a * specific name, thread group or priority. The returned executor's {@link * Executor#execute(Runnable) execute()} method is called when this service is started and * stopped, and should return promptly. */ protected Executor executor() { return command -> newThread(threadNameSupplier.get(), command).start(); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 5.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/AbstractIteratorTest.java
boolean haveBeenCalled; @Override public Integer computeNext() { if (haveBeenCalled) { throw new AssertionError("Should not have been called again"); } else { haveBeenCalled = true; throw sneakyThrow(new SomeCheckedException()); } } };Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/Handler.java
/** * Sets the URL stream handler factory for the environment. This * allows specification of the factory used in creating underlying * stream handlers. This can be called once per JVM instance. * * @param factory The URL stream handler factory. */ public static void setURLStreamHandlerFactory(final URLStreamHandlerFactory factory) { synchronized (PROTOCOL_HANDLERS) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
byte[] data = { 0x01, 0x02 }; // This constructor call itself should not throw an error, as it's just storing the values. // The error should occur when System.arraycopy is called. ByteEncodable encodable = new ByteEncodable(data, 1, 2); // off=1, len=2, data.length=2. 1+2 > 2 byte[] dest = new byte[5]; // Expect IndexOutOfBoundsException from System.arraycopy
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
import java.util.Set; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * {@link Set} implementation that asserts that a given lock is held whenever one of its methods is * called. */ @NullUnmarked class LockHeldAssertingSet<E> extends ForwardingSet<E> implements Serializable { final Set<E> delegate; final Object mutex; LockHeldAssertingSet(Set<E> delegate, Object mutex) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.3K bytes - Click Count (0)