Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for rs (0.3 sec)

  1. android/guava/src/com/google/common/hash/Striped64.java

                if (busy == 0 && casBusy()) {
                  boolean created = false;
                  try { // Recheck under lock
                    Cell[] rs;
                    int m, j;
                    if ((rs = cells) != null && (m = rs.length) > 0 && rs[j = (m - 1) & h] == null) {
                      rs[j] = r;
                      created = true;
                    }
                  } finally {
                    busy = 0;
                  }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/Striped64.java

                if (busy == 0 && casBusy()) {
                  boolean created = false;
                  try { // Recheck under lock
                    Cell[] rs;
                    int m, j;
                    if ((rs = cells) != null && (m = rs.length) > 0 && rs[j = (m - 1) & h] == null) {
                      rs[j] = r;
                      created = true;
                    }
                  } finally {
                    busy = 0;
                  }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. internal/s3select/sql/stringfuncs.go

    }
    
    func evalSQLSubstring(s string, startIdx, length int) (res string, err error) {
    	rs := []rune(s)
    
    	// According to s3 document, if startIdx < 1, it is set to 1.
    	if startIdx < 1 {
    		startIdx = 1
    	}
    
    	if startIdx > len(rs) {
    		startIdx = len(rs) + 1
    	}
    
    	// StartIdx is 1-based in the input
    	startIdx--
    	endIdx := len(rs)
    	if length != -1 {
    		if length < 0 {
    			return "", errInvalidSubstringIndexLen
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  4. cmd/copy-part-range.go

    // e.g. 'bytes=3-10'. Other use cases will be rejected.
    func checkCopyPartRangeWithSize(rs *HTTPRangeSpec, resourceSize int64) (err error) {
    	if rs == nil {
    		return nil
    	}
    	if rs.IsSuffixLength || rs.Start >= resourceSize || rs.End >= resourceSize {
    		return errInvalidRangeSource
    	}
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 18 03:27:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  5. cmd/bucket-replication-utils_test.go

    	name      string
    	rs        ReplicationState
    	arn       string
    	expStatus replication.StatusType
    }{
    	{ // 1. no replication status header
    		name:      "no replicated targets",
    		rs:        ReplicationState{},
    		expStatus: replication.StatusType(""),
    	},
    	{ // 2. replication status for one target
    		name:      "replication status for one target",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 08 20:27:40 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  6. cmd/api-headers.go

    	if err != nil {
    		return err
    	}
    
    	if rs == nil && opts.PartNumber > 0 {
    		rs = partNumberToRangeSpec(objInfo, opts.PartNumber)
    	}
    
    	// For providing ranged content
    	start, rangeLen, err = rs.GetOffsetLength(totalObjectSize)
    	if err != nil {
    		return err
    	}
    
    	// Set content length.
    	w.Header().Set(xhttp.ContentLength, strconv.FormatInt(rangeLen, 10))
    	if rs != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.9K bytes
    - Viewed (1)
  7. maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

                Repository repo, ArtifactRepositoryFactory artifactRepositoryFactory, PlexusContainer c)
                throws InvalidRepositoryException {
            RepositorySystem repositorySystem = rs(c);
            RepositorySystemSession session = rss(c);
    
            ArtifactRepository repository = repositorySystem.buildArtifactRepository(repo);
    
            if (session != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  8. schema/schema_helper_test.go

    	for name, relations := range actual {
    		rs := expected[name]
    		t.Run("CheckEmbeddedRelations/"+name, func(t *testing.T) {
    			if len(relations.Relations) != len(rs.Relations) {
    				t.Errorf("schema relations count don't match, expects %d, got %d", len(rs.Relations), len(relations.Relations))
    			}
    			if len(relations.EmbeddedRelations) != len(rs.EmbeddedRelations) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. docs/debugging/s3-verify/go.sum

    github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
    github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
    github.com/rs/xid v1.5.0 h1:mKX4bl4iPYJtEIxp6CYiUuLQ/8DYMoz0PUdtGgMFRVc=
    github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
    github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. cmd/s3-zip-handlers.go

    		end := file.Offset + int64(file.CompressedSize64) + 64<<10
    		if end > zipObjInfo.Size {
    			end = zipObjInfo.Size
    		}
    		rs := &HTTPRangeSpec{Start: file.Offset, End: end}
    		gr, err := objectAPI.GetObjectNInfo(ctx, bucket, zipPath, rs, nil, opts)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    		defer gr.Close()
    		rc, err = file.Open(gr)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top