Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2271 - 2280 of 3,823 for code (0.09 sec)

  1. guava-tests/test/com/google/common/io/ByteSinkTest.java

    import static org.junit.Assert.assertThrows;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.EnumSet;
    
    /**
     * Tests for the default implementations of {@code ByteSink} methods.
     *
     * @author Colin Decker
     */
    public class ByteSinkTest extends IoTestCase {
    
      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

     * of the public API. In particular, this class can be changed or deleted without prior notice.
     *
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     */
    @Deprecated(since = "4.0.0")
    public class ArtifactDescriptorUtils {
    
        public static Artifact toPomArtifact(Artifact artifact) {
            Artifact pomArtifact = artifact;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

       *     found in the map.
       */
      protected abstract V getValueNotInPopulatedMap() throws UnsupportedOperationException;
    
      /**
       * Constructor that assigns {@code supportsIteratorRemove} the same value as {@code
       * supportsRemove}.
       */
      protected MapInterfaceTest(
          boolean allowsNullKeys,
          boolean allowsNullValues,
          boolean supportsPut,
          boolean supportsRemove,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

         *       {@link #getVersionRangeViolation(int)} but it's not used like that in
         *       DefaultLegacyArtifactCollector
         *
         * @param e an exception
         * @return {@code this}
         */
        public ArtifactResolutionResult addVersionRangeViolation(Exception e) {
            versionRangeViolations = initList(versionRangeViolations);
    
            versionRangeViolations.add(e);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

         */
        private static final String DARWIN = "darwin";
    
        static {
            // Those two public constants are initialized here, as they need all the private constants
            // above to be initialized first, but the code style imposes the public constants to be
            // defined above the private ones...
            OS_FAMILY = getOsFamily();
            IS_WINDOWS = isFamily(FAMILY_WINDOWS);
        }
    
        private Os() {}
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

                    RS_NONE,
                    InternalScopeManager.Mode.REMOVE,
                    Collections.emptySet(),
                    Collections.emptySet(),
                    allDependencyScopes));
            result.add(internalScopeManager.createResolutionScope(
                    RS_MAIN_COMPILE,
                    InternalScopeManager.Mode.ELIMINATE,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/cors.md

    <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS" class="external-link" target="_blank">CORS or "Cross-Origin Resource Sharing"</a> refers to the situations when a frontend running in a browser has JavaScript code that communicates with a backend, and the backend is in a different "origin" than the frontend.
    
    ## Origin
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. cmd/api-resources_test.go

    		prefix, token, startAfter, delimiter, fetchOwner, maxKeys, encodingType, errCode := getListObjectsV2Args(testCase.values)
    
    		if errCode != testCase.errCode {
    			t.Errorf("Test %d: Expected error code:%d, got %d", i+1, testCase.errCode, errCode)
    		}
    		if prefix != testCase.prefix {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.prefix, prefix)
    		}
    		if token != testCase.token {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  9. cmd/bucket-encryption-handlers.go

    		return
    	}
    
    	// Parse bucket encryption xml
    	encConfig, err := validateBucketSSEConfig(io.LimitReader(r.Body, maxBucketSSEConfigSize))
    	if err != nil {
    		apiErr := APIError{
    			Code:           "MalformedXML",
    			Description:    fmt.Sprintf("%s (%s)", errorCodes[ErrMalformedXML].Description, err),
    			HTTPStatusCode: errorCodes[ErrMalformedXML].HTTPStatusCode,
    		}
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. architecture/networking/controllers.md

    while there are a few exceptional cases that should behave differently, for the most part any divergence from the reference code results in bugs....
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Feb 09 17:41:25 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top