Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for capi (0.42 sec)

  1. src/syscall/exec_linux.go

    	effective   uint32
    	permitted   uint32
    	inheritable uint32
    }
    type caps struct {
    	hdr  capHeader
    	data [2]capData
    }
    
    // See CAP_TO_INDEX in linux/capability.h:
    func capToIndex(cap uintptr) uintptr { return cap >> 5 }
    
    // See CAP_TO_MASK in linux/capability.h:
    func capToMask(cap uintptr) uint32 { return 1 << uint(cap&31) }
    
    // cloneArgs holds arguments for clone3 Linux syscall.
    type cloneArgs struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api.go

    	// declares an empty "C" package and errors are omitted for qualified
    	// identifiers referring to package C (which won't find an object).
    	// This feature is intended for the standard library cmd/api tool.
    	//
    	// Caution: Effects may be unpredictable due to follow-on errors.
    	//          Do not use casually!
    	FakeImportC bool
    
    	// If IgnoreBranchErrors is set, branch/label errors are ignored.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. src/go/types/api.go

    	Fset *token.FileSet // file set for interpretation of Pos
    	Pos  token.Pos      // error position
    	Msg  string         // error message
    	Soft bool           // if set, error is "soft"
    
    	// go116code is a future API, unexported as the set of error codes is large
    	// and likely to change significantly during experimentation. Tools wishing
    	// to preview this feature may read go116code using reflection (see
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. internal/config/api/api.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package api
    
    import (
    	"encoding/json"
    	"errors"
    	"fmt"
    	"math"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/env"
    )
    
    // API sub-system constants
    const (
    	apiRequestsMax             = "requests_max"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  5. cmd/api-response.go

    			u.Path = path.Join(SlashSeparator, object)
    			break
    		}
    	}
    	return u.String()
    }
    
    // generates ListBucketsResponse from array of BucketInfo which can be
    // serialized to match XML and JSON API spec output.
    func generateListBucketsResponse(buckets []BucketInfo) ListBucketsResponse {
    	listbuckets := make([]Bucket, 0, len(buckets))
    	data := ListBucketsResponse{}
    	owner := Owner{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. cmd/api-router.go

    	},
    	{
    		api:     "website",
    		methods: []string{http.MethodPut},
    		queries: []string{"website", ""},
    	},
    	{
    		api:     "logging",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"logging", ""},
    	},
    	{
    		api:     "accelerate",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"accelerate", ""},
    	},
    	{
    		api:     "requestPayment",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. cmd/handler-api.go

    		if n := totalNodeCount(); n > 0 {
    			apiRequestsMaxPerNode /= n
    		}
    	}
    
    	if globalIsDistErasure {
    		logger.Info("Configured max API requests per node based on available memory: %d", apiRequestsMaxPerNode)
    	}
    
    	if cap(t.requestsPool) != apiRequestsMaxPerNode {
    		// Only replace if needed.
    		// Existing requests will use the previous limit,
    		// but new requests will use the new limit.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 08:13:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/builtins0.go

    	_ = cap(f2()) // ERROR "too many arguments"
    }
    
    // test cases for issue 7387
    func cap3() {
    	var f = func() int { return 0 }
    	var x = f()
    	const (
    		_ = cap([4]int{})
    		_ = cap([4]int{x})
    		_ = cap /* ERROR "not constant" */ ([4]int{f()})
    		_ = cap /* ERROR "not constant" */ ([4]int{cap([]int{})})
    		_ = cap([4]int{cap([4]int{})})
    	)
    	var y float64
    	var z complex128
    	const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  9. cmd/object-api-utils_test.go

    Aditya Manthramurthy <******@****.***> 1716591923 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. cmd/object-api-datatypes.go

    	// User-Defined object tags
    	UserTags string
    
    	// List of individual parts, maximum size of upto 10,000
    	Parts []ObjectPartInfo `json:"-"`
    
    	// Implements writer and reader used by CopyObject API
    	Writer       io.WriteCloser `json:"-" msg:"-"`
    	Reader       *hash.Reader   `json:"-" msg:"-"`
    	PutObjReader *PutObjReader  `json:"-" msg:"-"`
    
    	metadataOnly bool
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top