Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for itos (0.21 sec)

  1. cmd/erasure-metadata_test.go

    	fi.Erasure.Index = 1
    	if !fi.IsValid() {
    		t.Fatalf("unable to get xl meta")
    	}
    
    	// Test them.
    	for _, testCase := range testCases {
    		if testCase.expectedIndex > -1 {
    			partNumString := strconv.Itoa(testCase.partNum)
    			fi.AddObjectPart(testCase.partNum, "etag."+partNumString, int64(testCase.partNum+humanize.MiByte), ActualSize, UTCNow(), nil, nil)
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    				res["free-versions"] = strconv.Itoa(len(fivs.FreeVersions))
    			}
    
    			if sizeS.versions > 0 {
    				res["versions"] = strconv.FormatUint(sizeS.versions, 10)
    			}
    			res["size"] = strconv.FormatInt(sizeS.totalSize, 10)
    			for name, tier := range sizeS.tiers {
    				res["tier-size-"+name] = strconv.FormatUint(tier.TotalSize, 10)
    				res["tier-versions-"+name] = strconv.Itoa(tier.NumVersions)
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    		}
    
    		if parityDrives >= len(onlineDisks)/2 {
    			parityDrives = len(onlineDisks) / 2
    		}
    
    		if parityOrig != parityDrives {
    			userDefined[minIOErasureUpgraded] = strconv.Itoa(parityOrig) + "->" + strconv.Itoa(parityDrives)
    		}
    	}
    
    	dataDrives := len(onlineDisks) - parityDrives
    
    	// we now know the number of blocks this object needs for data and parity.
    	// establish the writeQuorum using this data
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    	_, err = s.getStorage().ReadFile(r.Context(), volume, filePath, int64(offset), buf, verifier)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	w.Header().Set(xhttp.ContentLength, strconv.Itoa(len(buf)))
    	w.Write(buf)
    }
    
    // ReadFileStreamHandler - read section of a file.
    func (s *storageRESTServer) ReadFileStreamHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  5. cmd/storage-rest-client.go

    	values := make(url.Values)
    	values.Set(storageRESTVolume, volume)
    	values.Set(storageRESTFilePath, path)
    	values.Set(storageRESTOffset, strconv.Itoa(int(offset)))
    	values.Set(storageRESTLength, strconv.Itoa(int(length)))
    	respBody, err := client.call(ctx, storageRESTMethodReadFileStream, values, nil, -1)
    	if err != nil {
    		return nil, err
    	}
    	return respBody, nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  6. cmd/metrics-v3-system-drive.go

    		return nil
    	}
    
    	for _, disk := range driveMetrics.storageInfo.Disks {
    		labels := []string{
    			driveL, disk.DrivePath,
    			poolIndexL, strconv.Itoa(disk.PoolIndex),
    			setIndexL, strconv.Itoa(disk.SetIndex),
    			driveIndexL, strconv.Itoa(disk.DiskIndex),
    		}
    
    		m.setDriveBasicMetrics(disk, labels)
    		if dm, found := driveMetrics.ioStats[disk.DrivePath]; found {
    			m.setDriveIOStatMetrics(dm, labels)
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. tests/preload_test.go

    }
    
    func TestNestedPreloadWithUnscoped(t *testing.T) {
    	user := *GetUser("nested_preload", Config{Pets: 1})
    	pet := user.Pets[0]
    	pet.Toy = Toy{Name: "toy_nested_preload_" + strconv.Itoa(1)}
    	pet.Toy = Toy{Name: "toy_nested_preload_" + strconv.Itoa(2)}
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	var user2 User
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  8. CREDITS

        modify, display, perform, distribute, and otherwise exploit its
        Contributions, either on an unmodified basis, with Modifications, or
        as part of a Larger Work; and
    
    (b) under Patent Claims of such Contributor to make, use, sell, offer
        for sale, have made, import, and otherwise transfer either its
        Contributions or its Contributor Version.
    
    2.2. Effective Date
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            MavenProject project = session.getCurrentProject();
    
            Exclusion exclusion = new Exclusion();
            exclusion.setGroupId( "org.apache.maven.its" );
            exclusion.setArtifactId( "a" );
    
            new ProjectBuilder( project ).addDependency( "org.apache.maven.its", "b", "0.1", Artifact.SCOPE_RUNTIME,
                                                         exclusion );
    
            Set<Artifact> artifactDependencies =
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. licenses/cloud.google.com/go/auth/oauth2adapt/LICENSE

          the copyright owner. For the purposes of this definition, "submitted"
          means any form of electronic, verbal, or written communication sent
          to the Licensor or its representatives, including but not limited to
          communication on electronic mailing lists, source code control systems,
          and issue tracking systems that are managed by, or on behalf of, the
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 13:56:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top