Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,624 for Rust (0.02 sec)

  1. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        assertThat(expected).hasMessageThat().isEqualTo("index (-1) must not be negative");
      }
    
      public void testCheckElementIndex_tooHigh() {
        IndexOutOfBoundsException expected =
            assertThrows(IndexOutOfBoundsException.class, () -> checkElementIndex(1, 1));
        assertThat(expected).hasMessageThat().isEqualTo("index (1) must be less than size (1)");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/PreconditionsTest.java

        assertThat(expected).hasMessageThat().isEqualTo("index (-1) must not be negative");
      }
    
      public void testCheckElementIndex_tooHigh() {
        IndexOutOfBoundsException expected =
            assertThrows(IndexOutOfBoundsException.class, () -> checkElementIndex(1, 1));
        assertThat(expected).hasMessageThat().isEqualTo("index (1) must be less than size (1)");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Ascii.java

        // in this worst case, this allows a maxLength equal to the length of the truncationIndicator,
        // meaning that a string will be truncated to just the truncation indicator itself
        checkArgument(
            truncationLength >= 0,
            "maxLength (%s) must be >= length of the truncation indicator (%s)",
            maxLength,
            truncationIndicator.length());
    
        if (seq.length() <= maxLength) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

        assertNotNull(
            rootLocaleFormat("%s must be annotated with @TesterAnnotation.", annotationClass),
            annotationClass.getAnnotation(TesterAnnotation.class));
        Retention retentionPolicy = annotationClass.getAnnotation(Retention.class);
        assertNotNull(
            rootLocaleFormat("%s must have a @Retention annotation.", annotationClass),
            retentionPolicy);
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    	// If source has versioning enabled, target must have versioning enabled
    	if minioType && ((info.Versioning && !vcfg.Enabled() && !isRemoteToLocal) || (!info.Versioning && vcfg.Enabled() && isRemoteToLocal)) {
    		return batchReplicationJobError{
    			Code: "InvalidBucketState",
    			Description: fmt.Sprintf("The source '%s' has versioning enabled, target '%s' must have versioning enabled",
    				r.Source.Bucket, r.Target.Bucket),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.2.md

    Node selectors (to constrain pods to schedule on a subset of nodes) now support
    the operators {<code>In, NotIn, Exists, DoesNotExist, Gt, Lt</code>}  instead of just conjunction of exact match on node label values. In
    addition, we’ve introduced a new “soft” kind of node selector that is just a
    hint to the scheduler; the scheduler will try to satisfy these requests but it
    does not guarantee they will be satisfied. Both the “hard” and “soft” variants
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/testing.md

    ///
    
    /// note | Technical Details
    
    You could also use `from starlette.testclient import TestClient`.
    
    **FastAPI** provides the same `starlette.testclient` as `fastapi.testclient` just as a convenience for you, the developer. But it comes directly from Starlette.
    
    ///
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nonnull.java

    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * The annotated element must not be null.
     * <p>
     * Annotated fields must not be null after construction has completed.
     * <p>
     * When this annotation is applied to a method it applies to the method return value.
     *
     * @see Nullable
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Dec 10 21:43:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DosErrorTest.java

            // Assert
            assertNotNull(table, "DOS_ERROR_CODES must not be null");
            assertTrue(table.length > 0, "DOS_ERROR_CODES must not be empty");
            for (int i = 0; i < table.length; i++) {
                int[] pair = table[i];
                assertNotNull(pair, "row " + i + " must not be null");
                assertEquals(2, pair.length, "row " + i + " must be [dos, ntstatus]");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/LocalRepositoryManager.java

         *
         * @param session The session to use, must not be {@code null}.
         * @param local The local repository, must not be {@code null}.
         * @param artifact The artifact for which to determine the path, must not be {@code null}.
         * @param remote – The source repository of the artifact, must not be {@code null}.
         * @return The path, relative to the local repository's base directory.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top