Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 101 for work (0.19 sec)

  1. cmd/api-response.go

    	// Owner of the object.
    	Owner Owner
    
    	IsLatest  bool
    	VersionID string `xml:"VersionId"`
    }
    
    // Metadata metadata items implemented to ensure XML marshaling works.
    type Metadata struct {
    	Items []struct {
    		Key   string
    		Value string
    	}
    }
    
    // Set add items, duplicate items get replaced.
    func (s *Metadata) Set(k, v string) {
    	for i, item := range s.Items {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  2. src/cmd/asm/internal/asm/parse.go

    	scratch := make([][]lex.Token, 0, 3)
    	for {
    		word, cond, operands, ok := p.line(scratch)
    		if !ok {
    			break
    		}
    		scratch = operands
    
    		if p.pseudo(word, operands) {
    			continue
    		}
    		i, present := p.arch.Instructions[word]
    		if present {
    			p.instruction(i, word, cond, operands)
    			continue
    		}
    		p.errorf("unrecognized instruction %q", word)
    	}
    	if p.errorCount > 0 {
    		return nil, false
    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)
  3. cmd/api-utils.go

    	}
    	return name
    }
    
    // getHandlerName returns the name of the handler function. It takes the type
    // name as a string to clean up the name retrieved via reflection. This function
    // only works correctly when the type is present in the cmd package.
    func getHandlerName(f http.HandlerFunc, cmdType string) string {
    	name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. internal/s3select/sql/parser_test.go

    		&Select{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    	)
    
    	s := Select{}
    	cases := []string{
    		"select * from s3object where name > 2 or value > 1 or word > 2",
    		"select s.word.id + 2 from s3object s",
    		"select 1-2-3 from s3object s limit 1",
    	}
    	for i, tc := range cases {
    		err := p.ParseString(tc, &s)
    		if err != nil {
    			t.Fatalf("%d: %v", i, err)
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  5. internal/config/identity/openid/rsa-sha3_contrib.go

    // limitations under the License.
    
    //go:build !fips
    // +build !fips
    
    package openid
    
    import (
    	"crypto"
    
    	"github.com/golang-jwt/jwt/v4"
    
    	// Needed for SHA3 to work - See: https://golang.org/src/crypto/crypto.go?s=1034:1288
    	_ "golang.org/x/crypto/sha3" // There is no SHA-3 FIPS-140 2 compliant implementation
    )
    
    // Specific instances for RS256 and company
    var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    // asciiSet is a 32-byte value, where each bit represents the presence of a
    // given ASCII character in the set. The 128-bits of the lower 16 bytes,
    // starting with the least-significant bit of the lowest word to the
    // most-significant bit of the highest word, map to the full range of all
    // 128 ASCII characters. The 128-bits of the upper 16 bytes will be zeroed,
    // ensuring that any non-ASCII character will be reported as not in the set.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  7. cmd/object-api-errors.go

    func (e MethodNotAllowed) Error() string {
    	return "Method not allowed: " + e.Bucket + "/" + e.Object
    }
    
    // ObjectLocked object is currently WORM protected.
    type ObjectLocked GenericError
    
    func (e ObjectLocked) Error() string {
    	return "Object is WORM protected and cannot be overwritten: " + e.Bucket + "/" + e.Object + "(" + e.VersionID + ")"
    }
    
    // ObjectAlreadyExists object already exists.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-rebalance.go

    				NewPutObjReader(hr),
    				ObjectOptions{
    					PreserveETag: part.ETag, // Preserve original ETag to ensure same metadata.
    					IndexCB: func() []byte {
    						return part.Index // Preserve part Index to ensure decompression works.
    					},
    					NoAuditLog: true,
    				})
    			if err != nil {
    				return fmt.Errorf("rebalanceObject: PutObjectPart() %w", err)
    			}
    			parts[i] = CompletePart{
    				ETag:       pi.ETag,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  9. src/cmd/buildid/buildid.go

    	}
    
    	file := flag.Arg(0)
    	id, err := buildid.ReadFile(file)
    	if err != nil {
    		log.Fatal(err)
    	}
    	if !*wflag {
    		fmt.Printf("%s\n", id)
    		return
    	}
    
    	// Keep in sync with src/cmd/go/internal/work/buildid.go:updateBuildID
    
    	f, err := os.Open(file)
    	if err != nil {
    		log.Fatal(err)
    	}
    	matches, hash, err := buildid.FindAndHash(f, id, 0)
    	f.Close()
    	if err != nil {
    		log.Fatal(err)
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 06 14:30:53 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  10. internal/config/identity/openid/ecdsa-sha3_contrib.go

    // limitations under the License.
    
    //go:build !fips
    // +build !fips
    
    package openid
    
    import (
    	"crypto"
    
    	"github.com/golang-jwt/jwt/v4"
    
    	// Needed for SHA3 to work - See: https://golang.org/src/crypto/crypto.go?s=1034:1288
    	_ "golang.org/x/crypto/sha3" // There is no SHA-3 FIPS-140 2 compliant implementation
    )
    
    // Specific instances for EC256 and company
    var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 1.8K bytes
    - Viewed (0)
Back to top