Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 141 for contract (0.11 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. 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)
  3. android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

        }
      }
    
      public void testNoNullValues() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
          // Even though the contract in System.getProperties() specifies that a value will exist for
          // all of the listed keys, for some reason the "java.compiler" key returns null in some JVMs.
          if (property == JAVA_COMPILER) {
            continue;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 01:05:11 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            assertEquals("nested_value", ((Map<String, Object>) result.get("nested")).get("nested_key"));
        }
    
        // Test interface contract consistency
        @Test
        public void test_interfaceContract() {
            TestSearchLogEvent event = new TestSearchLogEvent("contract-id", 5L, "contract-type");
    
            // Test consistency of returned values
            String id1 = event.getId();
            String id2 = event.getId();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/math/QuantilesTest.java

            .isWithin(ALLOWED_ERROR)
            .of(45.6);
      }
    
      public void testScale_indexes_varargs_compute_doubleCollection() {
        // Note that we specify index 1 twice, which by the method contract should be ignored.
        assertThat(Quantiles.scale(10).indexes(0, 10, 5, 1, 8, 1).compute(SIXTEEN_SQUARES_DOUBLES))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
            .containsExactly(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/QuantilesTest.java

            .isWithin(ALLOWED_ERROR)
            .of(45.6);
      }
    
      public void testScale_indexes_varargs_compute_doubleCollection() {
        // Note that we specify index 1 twice, which by the method contract should be ignored.
        assertThat(Quantiles.scale(10).indexes(0, 10, 5, 1, 8, 1).compute(SIXTEEN_SQUARES_DOUBLES))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
            .containsExactly(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  7. LICENSES/vendor/github.com/Masterminds/semver/v3/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 SOFTWARE.
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Sat Nov 01 08:52:09 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

        }
      }
    
      public void testNoNullValues() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
          // Even though the contract in System.getProperties() specifies that a value will exist for
          // all of the listed keys, for some reason the "java.compiler" key returns null in some JVMs.
          if (property == JAVA_COMPILER) {
            continue;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 01:05:11 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  9. AI_POLICY.md

    This policy protects our limited review budget, allowing us to invest our attention wisely.
    
    A pull request is not a finished product—it is the start of a conversation, and an implied contract: we promise to provide thoughtful feedback, and we expect the contributor to engage with us in return.
    
    ## What we expect from contributors
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

      }
    
      interface A {}
    
      interface B {}
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(newDelegatingList(LIST1))
            // Actually, this violates List#equals contract.
            // But whatever, no one is going to proxy List (hopefully).
            .addEqualityGroup(newDelegatingList(LIST1))
            .addEqualityGroup(newDelegatingList(LIST2))
            .addEqualityGroup(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top