- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 384 for contract (0.14 seconds)
-
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* documentation. */ public void add(Runnable runnable, Executor executor) { // Fail fast on a null. We throw NPE here because the contract of Executor states that it throws // NPE on null listener, so we propagate that contract up into the add method as well. checkNotNull(runnable, "Runnable was null."); checkNotNull(executor, "Executor was null.");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
package jcifs.smb1.smb1; /** * Unit tests for {@link FileEntry}. The interface itself has no * implementation, so the tests exercise the contract via Mockito mocks. * Each method is exercised for normal inputs, extreme or edge cases, and * interaction verification. */ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.mock;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
architecture/standards/0008-use-nullaway.md
* When annotating existing internal code, use `org.jetbrains.annotations.Contract`, e.g. `@Contract(null -> null; !null -> !null)`. When doing so, still annotate nullable parameters and the return type as `@Nullable`. * Do not use `@Contract` for public APIs. * For polynull public APIs, the solution has to be decided on a case-by-case basis.Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
*/ @ExtendWith(MockitoExtension.class) public class SmbRenewableCredentialsTest { // Simple base class to satisfy the extended CredentialsInternal contract static abstract class BaseCreds implements SmbRenewableCredentials { @Override public CredentialsInternal clone() { // For testing purposes, return this instance (allowed by return type)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashCode.java
* byte-based hashcode. Otherwise it returns {@link HashCode#asBytes}. Do <i>not</i> mutate this * array or else you will break the immutability contract of {@code HashCode}. */ byte[] getBytesInternal() { return asBytes(); } /** * Returns whether this {@code HashCode} and that {@code HashCode} have the same value, given thatCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 12.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
import java.util.Iterator; import java.util.Map.Entry; import java.util.SortedMap; /** * Tests representing the contract of {@link SortedMap}. Concrete subclasses of this base class test * conformance of concrete {@link SortedMap} subclasses to that contract. * * @author Jared Levy */ // TODO: Use this class to test classes besides ImmutableSortedMap. @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 17 20:00:30 GMT 2024 - 3.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
import java.util.Iterator; import java.util.Map.Entry; import java.util.SortedMap; /** * Tests representing the contract of {@link SortedMap}. Concrete subclasses of this base class test * conformance of concrete {@link SortedMap} subclasses to that contract. * * @author Jared Levy */ // TODO: Use this class to test classes besides ImmutableSortedMap. @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 17 20:00:30 GMT 2024 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java
* way to obtain a {@code List<ListenableFuture<T>>} from this method is an unchecked (but safe) * cast: * * <pre> * {@code @SuppressWarnings("unchecked") // guaranteed by invokeAll contract} * {@code List<ListenableFuture<T>> futures = (List) executor.invokeAll(tasks);} * </pre> * * @return A list of {@code ListenableFuture} instances representing the tasks, in the sameCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.2K bytes - Click Count (0) -
LICENSE
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Jan 12 10:32:39 GMT 2025 - 1.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/CreateContextRequest.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.create; import jcifs.Encodable; /** * SMB2 Create Context request interface. This interface defines the contract for * context data included in SMB2 Create requests. * * @author mbechler * */ public interface CreateContextRequest extends Encodable { /** * Get the name of this create context.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.2K bytes - Click Count (0)