Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for testobject (0.09 sec)

  1. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

              .contains(
                  "TestObject{group=1, item=2} [group 1, item 2] must be equivalent to "
                      + "TestObject{group=1, item=1} [group 1, item 1]");
          return;
        }
        fail();
      }
    
      public void testTest_transitive() {
        Object group1Item1 = new TestObject(1, 1);
        Object group1Item2 = new TestObject(1, 2);
        Object group1Item3 = new TestObject(1, 3);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

              .contains(
                  "TestObject{group=1, item=2} [group 1, item 2] must be equivalent to "
                      + "TestObject{group=1, item=1} [group 1, item 1]");
          return;
        }
        fail();
      }
    
      public void testTest_transitive() {
        Object group1Item1 = new TestObject(1, 1);
        Object group1Item2 = new TestObject(1, 2);
        Object group1Item3 = new TestObject(1, 3);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    			t.Fatalf("Put Object case %d:  Error uploading object: <ERROR> %v", i+1, err)
    		}
    	}
    
    	testObject := "testobject"
    
    	// Initiate Multipart upload for testing CopyObjectPartHandler.
    	rec := httptest.NewRecorder()
    	req, err := newTestSignedRequestV4(http.MethodPost, getNewMultipartURL("", bucketName, testObject),
    		0, nil, credentials.AccessKey, credentials.SecretKey, nil)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  4. cmd/object-api-options_test.go

    			rec := httptest.NewRecorder()
    			req := httptest.NewRequest("GET", "/test", nil)
    			req.Header = testCase.headers
    
    			opts, _ := getAndValidateAttributesOpts(ctx, rec, req, bucket, "testobject")
    
    			if !reflect.DeepEqual(opts.ObjectAttributes, testCase.wantObjectAttrs) {
    				t.Errorf("want opts %v, got %v", testCase.wantObjectAttrs, opts.ObjectAttributes)
    			}
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	// execute the make bucket http request.
    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	// assert the response http status code.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	objectName := "testObject"
    	// create HTTP request to upload the object.
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    		int64(buffer.Len()), buffer, s.accessKey, s.secretKey, s.signer)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    		{"myobject", nil},
    		// TestXLStorage to use same path of previously created file.
    		{"path/to/my/testobject", nil},
    		// TestXLStorage to use object is a directory now.
    		{"object-as-dir", errIsNotRegular},
    		// path segment uses previously uploaded object.
    		{"myobject/testobject", errFileAccessDenied},
    		// One path segment length is > 255 chars long.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    	srcBucket := r.Source.Bucket
    	tgtBucket := r.Target.Bucket
    	srcObject := srcObjInfo.Name
    	tgtObject := srcObjInfo.Name
    	if r.Target.Prefix != "" {
    		tgtObject = pathJoin(r.Target.Prefix, srcObjInfo.Name)
    	}
    
    	versionID := srcObjInfo.VersionID
    	if r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  8. cmd/object-api-interface.go

    }
    
    // GetObject - TODO(aead): This function just acts as an adapter for GetObject tests and benchmarks
    // since the GetObject method of the ObjectLayer interface has been removed. Once, the
    // tests are adjusted to use GetObjectNInfo this function can be removed.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. cmd/global-heal.go

    		// If we resume to the same bucket, forward to last known item.
    		b := tracker.getBucket()
    		if b == bucket {
    			forwardTo = tracker.getObject()
    		}
    		if b != "" {
    			// Reset to where last bucket ended if resuming.
    			tracker.resume()
    		}
    		tracker.setObject("")
    		tracker.setBucket(bucket)
    		// Heal current bucket again in case if it is failed
    		// in the beginning of erasure set healing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    	dstObject = encodeDirObject(dstObject)
    
    	cpSrcDstSame := isStringEqual(pathJoin(srcBucket, srcObject), pathJoin(dstBucket, dstObject))
    
    	if !dstOpts.NoLock {
    		ns := z.NewNSLock(dstBucket, dstObject)
    		lkctx, err := ns.GetLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return ObjectInfo{}, err
    		}
    		ctx = lkctx.Context()
    		defer ns.Unlock(lkctx)
    		dstOpts.NoLock = true
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top