Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 404 for contract (0.2 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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 that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  6. 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.
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 17 20:00:30 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  7. 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.
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 17 20:00:30 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  8. LICENSES/third_party/gimme/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 THE
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Feb 01 21:34:23 GMT 2023
    - 1.1K bytes
    - Click Count (0)
  9. LICENSES/third_party/multiarch/qemu-user-static/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 THE
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Jul 08 11:48:19 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  10. 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)
Back to Top