Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1791 - 1800 of 2,396 for create (0.07 sec)

  1. guava/src/com/google/common/collect/ImmutableList.java

       * it.
       *
       * @since 2.0
       */
      public static final class Builder<E> extends ImmutableCollection.Builder<E> {
        // The first `size` elements are non-null.
        @VisibleForTesting @Nullable Object[] contents;
        private int size;
        private boolean copyOnWrite;
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		Code:           "SlowDownRead",
    		Description:    "Resource requested is unreadable, please reduce your request rate",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrSlowDownWrite: {
    		Code:           "SlowDownWrite",
    		Description:    "Resource requested is unwritable, please reduce your request rate",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrMaxVersionsExceeded: {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  3. cmd/object_api_suite_test.go

    	}
    	res, err := obj.NewMultipartUpload(context.Background(), "bucket", "key", opts)
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	uploadID := res.UploadID
    
    	// Create a byte array of 5MiB.
    	data := bytes.Repeat([]byte("0123456789abcdef"), 5*humanize.MiByte/16)
    	completedParts := CompleteMultipartUpload{}
    	for i := 1; i <= 10; i++ {
    		expectedETaghex := getMD5Hash(data)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. CHANGELOG.md

        crashed.
    
     *  Fix: Avoid `InetAddress.getCanonicalHostName()` in MockWebServer. This avoids problems if the
        host machine's IP address has additional DNS registrations.
    
     *  New: Create a JPMS-compatible artifact for `JavaNetCookieJar`. Previously, multiple OkHttp
        artifacts defined classes in the `okhttp3` package, but this is forbidden by the Java module
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

        return new LinkedHashMap<>(capacity(expectedSize));
      }
    
      /**
       * Creates a new empty {@link ConcurrentHashMap} instance.
       *
       * @since 3.0
       */
      public static <K, V> ConcurrentMap<K, V> newConcurrentMap() {
        return new ConcurrentHashMap<>();
      }
    
      /**
       * Creates a <i>mutable</i>, empty {@code TreeMap} instance using the natural ordering of its
       * elements.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Maps.java

        return new LinkedHashMap<>(capacity(expectedSize));
      }
    
      /**
       * Creates a new empty {@link ConcurrentHashMap} instance.
       *
       * @since 3.0
       */
      public static <K, V> ConcurrentMap<K, V> newConcurrentMap() {
        return new ConcurrentHashMap<>();
      }
    
      /**
       * Creates a <i>mutable</i>, empty {@code TreeMap} instance using the natural ordering of its
       * elements.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/InetAddresses.java

     * were never supposed to be seen on the wire. That assumption was dropped, some say mistakenly, in
     * later RFCs with the apparent aim of making IPv4-to-IPv6 transition simpler.
     *
     * <p>Technically one <i>can</i> create a 128bit IPv6 address with the wire format of a "mapped"
     * address, as shown above, and transmit it in an IPv6 packet header. However, Java's InetAddress
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteStreams.java

        return toByteArrayInternal(in, new ArrayDeque<byte[]>(TO_BYTE_ARRAY_DEQUE_SIZE), 0);
      }
    
      /**
       * Reads all bytes from an input stream into a byte array. The given expected size is used to
       * create an initial byte array, but if the actual number of bytes read from the stream differs,
       * the correct result will be returned anyway.
       */
      static byte[] toByteArray(InputStream in, long expectedSize) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  9. cmd/peer-rest-client.go

    	return &peerRESTClient{
    		host: peer, restClient: restClient, gridHost: gridHost,
    		gridConn: func() *grid.Connection {
    			// Lazy initialization of grid connection.
    			// When we create this peer client, the grid connection is likely not yet initialized.
    			if gridHost == "" {
    				bugLogIf(context.Background(), fmt.Errorf("gridHost is empty for peer %s", peer.String()), peer.String()+":gridHost")
    				return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    		if nerr.Err != nil {
    			result.Error = nerr.Err.Error()
    		} else {
    			result.Success = true
    		}
    		startProfilingResult = append(startProfilingResult, result)
    	}
    
    	// Create JSON result and send it to the client
    	startProfilingResultInBytes, err := json.Marshal(startProfilingResult)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top