Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for regions (0.2 sec)

  1. src/archive/tar/reader.go

    // Read reads from the current file in the tar archive.
    // It returns (0, io.EOF) when it reaches the end of that file,
    // until [Next] is called to advance to the next file.
    //
    // If the current file is sparse, then the regions marked as a hole
    // are read back as NUL-bytes.
    //
    // Calling Read on special types like [TypeLink], [TypeSymlink], [TypeChar],
    // [TypeBlock], [TypeDir], and [TypeFifo] returns (0, [io.EOF]) regardless of what
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  2. src/archive/tar/common.go

    		case cur.Offset > math.MaxInt64-cur.Length:
    			return false // Integer overflow with large length
    		case cur.endOffset() > size:
    			return false // Region extends beyond the actual size
    		case pre.endOffset() > cur.Offset:
    			return false // Regions cannot overlap and must be in order
    		}
    		pre = cur
    	}
    	return true
    }
    
    // alignSparseEntries mutates src and returns dst where each fragment's
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  3. internal/config/config.go

    			return
    		}
    
    		region = regionKV.Get(RegionName)
    	}
    	if region != "" {
    		if !validRegionRegex.MatchString(region) {
    			err = Errorf(
    				"region '%s' is invalid, expected simple characters such as [us-east-1, myregion...]",
    				region)
    			return
    		}
    		s.Region = region
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    	if accessKeyID == "" || secretAccessKey == "" {
    		return errors.New("Presign cannot be generated without access and secret keys")
    	}
    
    	region := globalSite.Region
    	date := UTCNow()
    	scope := getScope(date, region)
    	credential := fmt.Sprintf("%s/%s", accessKeyID, scope)
    
    	// Set URL query.
    	query := req.URL.Query()
    	query.Set("X-Amz-Algorithm", signV4Algorithm)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      ops->read_only_memory_region_ops = static_cast<TF_ReadOnlyMemoryRegionOps*>(
          plugin_memory_allocate(TF_READ_ONLY_MEMORY_REGION_OPS_SIZE));
      ops->read_only_memory_region_ops->cleanup =
          tf_read_only_memory_region::Cleanup;
      ops->read_only_memory_region_ops->data = tf_read_only_memory_region::Data;
      ops->read_only_memory_region_ops->length = tf_read_only_memory_region::Length;
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

      //   node label.
      // * topology.kubernetes.io/zone: the value indicates the zone where the
      //   endpoint is located. This should match the corresponding node label.
      // * topology.kubernetes.io/region: the value indicates the region where the
      //   endpoint is located. This should match the corresponding node label.
      // This field is deprecated and will be removed in future api versions.
      // +optional
      map<string, string> topology = 5;
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. cmd/auth-handler.go

    	case authTypeSigned, authTypePresigned:
    		region := globalSite.Region
    		switch action {
    		case policy.GetBucketLocationAction, policy.ListAllMyBucketsAction:
    			region = ""
    		}
    		if s3Err = isReqAuthenticated(ctx, r, region, serviceS3); s3Err != ErrNone {
    			return s3Err
    		}
    		cred, owner, s3Err = getReqAccessKeyV4(r, region, serviceS3)
    	}
    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  8. cmd/handler-utils.go

    	if r == nil {
    		return nil
    	}
    
    	region := globalSite.Region
    	cred := getReqAccessCred(r, region)
    
    	principalID := cred.AccessKey
    	if cred.ParentUser != "" {
    		principalID = cred.ParentUser
    	}
    
    	// Success.
    	m := map[string]string{
    		"region":          region,
    		"principalId":     principalID,
    		"sourceIPAddress": handlers.GetSourceIP(r),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  9. internal/arn/arn_test.go

    		want string
    	}{
    		{
    			arn: ARN{
    				Partition:    "minio",
    				Service:      "iam",
    				Region:       "us-east-1",
    				ResourceType: "role",
    				ResourceID:   "my-role",
    			},
    			want: "arn:minio:iam:us-east-1::role/my-role",
    		},
    		{
    			arn: ARN{
    				Partition:    "minio",
    				Service:      "",
    				Region:       "us-east-1",
    				ResourceType: "role",
    				ResourceID:   "my-role",
    			},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. cmd/server-startup-msg.go

    	}
    	return newAPIEndpoints
    }
    
    // Prints common server startup message. Prints credential, region and browser access.
    func printServerCommonMsg(apiEndpoints []string) {
    	// Get saved credentials.
    	cred := globalActiveCred
    
    	// Get saved region.
    	region := globalSite.Region
    
    	apiEndpointStr := strings.TrimSpace(strings.Join(apiEndpoints, "  "))
    	// Colorize the message and print.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top