Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 80 for __construct (0.17 sec)

  1. cmd/server_test.go

    	c.Assert(err, nil)
    
    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	// assert the response status code.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// construct request to delete the bucket.
    	request, err = newTestSignedRequest(http.MethodDelete, getDeleteBucketURL(s.endPoint, bucketName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        for (int i = 0; i < cellList.size(); i++) {
          Cell<R, C, V> cell = cellList.get(i);
          R rowKey = cell.getRowKey();
          C columnKey = cell.getColumnKey();
          // The requireNonNull calls are safe because we construct the indexes with indexMap.
          int rowIndex = requireNonNull(rowKeyToIndex.get(rowKey));
          int columnIndex = requireNonNull(columnKeyToIndex.get(columnKey));
          V existingValue = values[rowIndex][columnIndex];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.h

                                                   void* device_info);
    
      // Method to execute an operation.
      //
      // Arguments provide enough information to reconstruct the original `TFE_Op`,
      // or construct a transformed version, by inspecting the passed `op`.
      //
      // TFE_OpGetDevice(op) records the original placement of the operation. It may
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle-handlers_test.go

    		shouldPass         bool
    	},
    ) {
    	for i, testCase := range testCases {
    		// initialize httptest Recorder, this records any mutations to response writer inside the handler.
    		rec := httptest.NewRecorder()
    		// construct HTTP request
    		req, err := newTestSignedRequestV4(testCase.method, getBucketLifecycleURL("", testCase.bucketName),
    			int64(len(testCase.body)), bytes.NewReader(testCase.body), testCase.accessKey, testCase.secretKey, nil)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  5. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.WeakHashMap;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Construct a version range from a specification.
     *
     */
    public class VersionRange {
        private static final Map<String, VersionRange> CACHE_SPEC = Collections.synchronizedMap(new WeakHashMap<>());
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  6. cmd/signature-v2.go

    	)
    
    	var unescapedQueries []string
    	unescapedQueries, err = unescapeQueries(encodedQuery)
    	if err != nil {
    		return ErrInvalidQueryParams
    	}
    
    	// Extract the necessary values from presigned query, construct a list of new filtered queries.
    	for _, query := range unescapedQueries {
    		keyval := strings.SplitN(query, "=", 2)
    		if len(keyval) != 2 {
    			return ErrInvalidQueryParams
    		}
    		switch keyval[0] {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

         * 'rootObject.getChild().isName()' for boolean properties.
         */
        public static class ObjectBasedValueSource extends AbstractValueSource {
    
            private final Object root;
    
            /**
             * Construct a new value source, using the supplied object as the root from
             * which to start, and using expressions split at the dot ('.') to navigate
             * the object graph beneath this root.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  8. cmd/admin-handlers_test.go

    	queryVal := url.Values{}
    	queryVal.Set("info", "")
    
    	req, err := buildAdminRequest(queryVal, http.MethodGet, "/info", 0, nil)
    	if err != nil {
    		t.Fatalf("Failed to construct get-config object request - %v", err)
    	}
    
    	rec := httptest.NewRecorder()
    	adminTestBed.router.ServeHTTP(rec, req)
    	if rec.Code != http.StatusOK {
    		t.Errorf("Expected to succeed but failed with %d", rec.Code)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeToken.java

       * }</pre>
       */
      protected TypeToken() {
        this.runtimeType = capture();
        checkState(
            !(runtimeType instanceof TypeVariable),
            "Cannot construct a TypeToken for a type variable.\n"
                + "You probably meant to call new TypeToken<%s>(getClass()) "
                + "that can resolve the type variable for you.\n"
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  10. cmd/iam-etcd-store.go

    	//  a large number of policies
    	r, err := ies.client.Get(ctx, iamConfigPoliciesPrefix, etcd.WithPrefix())
    	if err != nil {
    		return err
    	}
    
    	// Parse all values to construct the policies data model.
    	for _, kvs := range r.Kvs {
    		if err = ies.getPolicyDocKV(ctx, kvs, m); err != nil && !errors.Is(err, errNoSuchPolicy) {
    			return err
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
Back to top