Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for forms (0.19 sec)

  1. cmd/admin-handlers-config-kv.go

    	// Write the config input KV to history.
    	err = saveServerConfigHistory(ctx, objectAPI, kvBytes)
    	return
    }
    
    // GetConfigKVHandler - GET /minio/admin/v3/get-config-kv?key={key}
    //
    // `key` can be one of three forms:
    // 1. `subsys:target` -> request for config of a single subsystem and target pair.
    // 2. `subsys:` -> request for config of a single subsystem and the default target.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/tokenizer.go

    	"unicode"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // A Tokenizer is a simple wrapping of text/scanner.Scanner, configured
    // for our purposes and made a TokenReader. It forms the lowest level,
    // turning text from readers into tokens.
    type Tokenizer struct {
    	tok  ScanToken
    	s    *scanner.Scanner
    	base *src.PosBase
    	line int
    	file *os.File // If non-nil, file descriptor to close.
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/parse.go

    		return 0, false
    	}
    	return r, true
    }
    
    // register parses a full register reference where there is no symbol present (as in 4(R0) or R(10) but not sym(SB))
    // including forms involving multiple registers such as R1:R2.
    func (p *Parser) register(name string, prefix rune) (r1, r2 int16, scale int8, ok bool) {
    	// R1 or R(1) R1:R2 R1,R2 R1+R2, or R1*scale.
    	r1, ok = p.registerReference(name)
    	if !ok {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  4. internal/s3select/sql/funceval.go

    }
    
    func handleUTCNow() (*Value, error) {
    	return FromTimestamp(time.Now().UTC()), nil
    }
    
    func handleSQLSubstring(r Record, e *SubstringFunc, tableAlias string) (val *Value, err error) {
    	// Both forms `SUBSTRING('abc' FROM 2 FOR 1)` and
    	// SUBSTRING('abc', 2, 1) are supported.
    
    	// Evaluate the string argument
    	v1, err := e.Expr.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  5. cmd/signature-v4_test.go

    	now := UTCNow()
    	accessKey := globalActiveCred.AccessKey
    
    	testCases := []struct {
    		form     http.Header
    		expected APIErrorCode
    	}{
    		// (0) It should fail if 'X-Amz-Credential' is missing.
    		{
    			form:     http.Header{},
    			expected: ErrCredMalformed,
    		},
    		// (1) It should fail if the access key is incorrect.
    		{
    			form: http.Header{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  6. cmd/bucket-policy.go

    		}
    		if existingValues, found := args[key]; found {
    			args[key] = append(existingValues, values...)
    		} else {
    			args[key] = values
    		}
    	}
    
    	cloneURLValues := make(url.Values, len(r.Form))
    	for k, v := range r.Form {
    		cloneURLValues[k] = v
    	}
    
    	for _, objLock := range []string{
    		xhttp.AmzObjectLockMode,
    		xhttp.AmzObjectLockLegalHold,
    		xhttp.AmzObjectLockRetainUntilDate,
    	} {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. cmd/peer-rest-server.go

    		s.writeErrorResponse(w, errServerNotInitialized)
    		return
    	}
    
    	sizeStr := r.Form.Get(peerRESTSize)
    	durationStr := r.Form.Get(peerRESTDuration)
    	concurrentStr := r.Form.Get(peerRESTConcurrent)
    	storageClass := r.Form.Get(peerRESTStorageClass)
    	bucketName := r.Form.Get(peerRESTBucket)
    	enableSha256 := r.Form.Get(peerRESTEnableSha256) == "true"
    
    	size, err := strconv.Atoi(sizeStr)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/transition.go

    	return t.set
    }
    
    // MarshalXML encodes transition field into an XML form.
    func (t Transition) MarshalXML(enc *xml.Encoder, start xml.StartElement) error {
    	if !t.set {
    		return nil
    	}
    	type transitionWrapper Transition
    	return enc.EncodeElement(transitionWrapper(t), start)
    }
    
    // UnmarshalXML decodes transition field from the XML form.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 10 17:07:49 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  9. cmd/copy-part-range.go

    		writeErrorResponse(ctx, w, apiErr, url)
    		return
    	}
    }
    
    // Parses x-amz-copy-source-range for CopyObjectPart API. Its behavior
    // is different from regular HTTP range header. It only supports the
    // form `bytes=first-last` where first and last are zero-based byte
    // offsets. See
    // http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadUploadPartCopy.html
    // for full details. This function treats an empty rangeString as
    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)
  10. internal/bpool/bpool.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package bpool
    
    import "github.com/klauspost/reedsolomon"
    
    // BytePoolCap implements a leaky pool of []byte in the form of a bounded channel.
    type BytePoolCap struct {
    	c    chan []byte
    	w    int
    	wcap int
    }
    
    // NewBytePoolCap creates a new BytePool bounded to the given maxSize, with new
    // byte arrays sized based on width.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 2.6K bytes
    - Viewed (0)
Back to top