Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 311 for objs (0.03 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        oos.writeObject(values);
        oos.close();
    
        int finalSize = bytes.size();
    
        assertThat(finalSize - mapSize).isLessThan(100);
      }
    
      private static <T> T[] arrayOf(T... objs) {
        return objs;
      }
    
      @J2ktIncompatible
      @GwtIncompatible("assumptions about splitting")
      public void testKeySetSplittable() {
        ImmutableMap<Integer, Integer> map =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    		object ObjectToDelete
    	}
    
    	// Transform []delObj to the list of object names
    	toNames := func(delObjs []delObj) []ObjectToDelete {
    		objs := make([]ObjectToDelete, len(delObjs))
    		for i, obj := range delObjs {
    			objs[i] = obj.object
    		}
    		return objs
    	}
    
    	// The result of delete operation on all passed objects
    	delErrs := make([]error, len(objects))
    
    	// The result of delete objects
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  3. cmd/erasure-server-pool.go

    		for idx, pool := range z.serverPools {
    			go func(idx int, pool *erasureSets) {
    				defer wg.Done()
    				objs := poolObjIdxMap[idx]
    				if len(objs) == 0 {
    					return
    				}
    				orgIndexes := origIndexMap[idx]
    				deletedObjects, errs := pool.DeleteObjects(ctx, bucket, objs, opts)
    				mu.Lock()
    				for i, derr := range errs {
    					if derr != nil {
    						derrs[orgIndexes[i]] = derr
    					}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  4. cmd/object_api_suite_test.go

    		}
    		if result.Objects[2].Name != "obj1" {
    			t.Errorf("%s: Expected the object name to be `%s`, but instead found `%s`", instanceType, "obj1", result.Objects[2].Name)
    		}
    	}
    	// check ordering of results with prefix.
    	{
    		result, err = obj.ListObjects(context.Background(), "bucket", "obj", "", "", 1000)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  5. cmd/object-api-listobjects_test.go

    		{testBuckets[0], "newzen/zen/recurse/again/again/again/pics", "recurse", nil},
    		{testBuckets[0], "obj0", "obj0", nil},
    		{testBuckets[0], "obj1", "obj1", nil},
    		{testBuckets[0], "obj2", "obj2", nil},
    		{testBuckets[1], "obj1", "obj1", nil},
    		{testBuckets[1], "obj2", "obj2", nil},
    		{testBuckets[1], "temporary/0/", "", nil},
    		{testBuckets[3], "A/B", "contentstring", nil},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle_test.go

    		},
    	}
    
    	// current version
    	obj1 := ObjectOpts{
    		Name:     "obj1",
    		IsLatest: true,
    	}
    	// non-current version
    	obj2 := ObjectOpts{
    		Name: "obj2",
    	}
    
    	tests := []struct {
    		obj         ObjectOpts
    		expRuleID   int
    		transRuleID int
    	}{
    		{
    			obj:         obj1,
    			expRuleID:   0,
    			transRuleID: 1,
    		},
    		{
    			obj:         obj2,
    			expRuleID:   0,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. cmd/erasure-object_test.go

    	}
    
    	bucketName := "bucket"
    	testCases := []testCaseType{
    		{bucketName, "dir/obj1"},
    		{bucketName, "dir/obj2"},
    		{bucketName, "obj3"},
    		{bucketName, "obj_4"},
    	}
    
    	if err = obj.MakeBucket(ctx, bucketName, MakeBucketOptions{}); err != nil {
    		t.Fatal(err)
    	}
    
    	for _, testCase := range testCases {
    		_, err = obj.PutObject(ctx, testCase.bucket, testCase.object,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. docs/site-replication/run-replication-with-checksum-header.sh

    echo "Loading objects to source MinIO instance"
    OBJ_CHKSUM=$(openssl dgst -sha256 -binary </tmp/data/obj | base64)
    aws s3api --endpoint-url=https://localhost:9001 put-object --checksum-algorithm SHA256 --checksum-sha256 "${OBJ_CHKSUM}" --bucket test-bucket --key obj2 --body /tmp/data/obj --no-verify-ssl --profile enterprise
    
    split -n 10 /tmp/data/mpartobj
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 08:02:16 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    	randN = r
    	randmu.Unlock()
    	return strconv.Itoa(int(1e9 + r%1e9))[1:]
    }
    
    // isSameType - compares two object types via reflect.TypeOf
    func isSameType(obj1, obj2 interface{}) bool {
    	return reflect.TypeOf(obj1) == reflect.TypeOf(obj2)
    }
    
    // TestServer encapsulates an instantiation of a MinIO instance with a temporary backend.
    // Example usage:
    //
    //	s := StartTestServer(t,"Erasure")
    //	defer s.Stop()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/MemoryUtil.java

        }
    
        public static long sizeOf(final Object obj) {
            if (obj == null) {
                return 0L;
            }
            if (obj instanceof String) {
                return ((String) obj).length() + 56L;
            }
            if (obj instanceof Number) {
                return 24L;
            }
            if (obj instanceof Date) {
                return 32L;
            }
            if (obj instanceof LocalDateTime) {
                return 80L;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top