Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 143 for Larsen (0.39 sec)

  1. internal/crypto/header.go

    	}
    	if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerKey]; ok {
    		return true
    	}
    	if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerKeyMD5]; ok {
    		return true
    	}
    	return false
    }
    
    // ParseHTTP parses the SSE-C copy headers and returns the SSE-C client key
    // on success. Regular SSE-C headers are ignored.
    func (ssecCopy) ParseHTTP(h http.Header) (key [32]byte, err error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/clusters.go

    	statuses := make(map[string][]cluster.DebugInfo, len(input))
    	for istiodKey, bytes := range input {
    		var parsed []cluster.DebugInfo
    		if err := json.Unmarshal(bytes, &parsed); err != nil {
    			return nil, err
    		}
    		statuses[istiodKey] = parsed
    	}
    	return statuses, nil
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    				n.Const = fmt.Sprintf("%#x", i)
    			} else if n.Define[0] == '\'' {
    				if _, err := parser.ParseExpr(n.Define); err == nil {
    					n.Kind = "iconst"
    					n.Const = n.Define
    				}
    			} else if n.Define[0] == '"' {
    				if _, err := parser.ParseExpr(n.Define); err == nil {
    					n.Kind = "sconst"
    					n.Const = n.Define
    				}
    			}
    
    			if n.IsConst() {
    				continue
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. src/cmd/buildid/buildid.go

    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    var wflag = flag.Bool("w", false, "write build ID")
    
    func main() {
    	log.SetPrefix("buildid: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	if flag.NArg() != 1 {
    		usage()
    	}
    
    	file := flag.Arg(0)
    	id, err := buildid.ReadFile(file)
    	if err != nil {
    		log.Fatal(err)
    	}
    	if !*wflag {
    		fmt.Printf("%s\n", id)
    		return
    	}
    
    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)
  5. cmd/encryption-v1.go

    	k, err := crypto.SSECopy.ParseHTTP(h)
    	return k[:], err
    }
    
    // ParseSSECustomerRequest parses the SSE-C header fields of the provided request.
    // It returns the client provided key on success.
    func ParseSSECustomerRequest(r *http.Request) (key []byte, err error) {
    	return ParseSSECustomerHeader(r.Header)
    }
    
    // ParseSSECustomerHeader parses the SSE-C header fields and returns
    // the client provided key on success.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle.go

    		return true
    	}
    	return false // in progress or completed but expired
    }
    
    // parseRestoreObjStatus parses restoreHdr from AmzRestore header. If the value is valid it returns a
    // restoreObjStatus value with the status and expiry (if any). Otherwise returns
    // the empty value and an error indicating the parse failure.
    func parseRestoreObjStatus(restoreHdr string) (restoreObjStatus, error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  7. schema/relationship_test.go

    import (
    	"sync"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/schema"
    )
    
    func checkStructRelation(t *testing.T, data interface{}, relations ...Relation) {
    	if s, err := schema.Parse(data, &sync.Map{}, schema.NamingStrategy{}); err != nil {
    		t.Errorf("Failed to parse schema, got error %v", err)
    	} else {
    		for _, rel := range relations {
    			checkSchemaRelation(t, s, rel)
    		}
    	}
    }
    
    func TestBelongsToOverrideForeignKey(t *testing.T) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  8. internal/bucket/versioning/versioning.go

    // prefixes or if ExcludeFolders is true.
    func (v Versioning) PrefixesExcluded() bool {
    	return len(v.ExcludedPrefixes) > 0 || v.ExcludeFolders
    }
    
    // ParseConfig - parses data in given reader to VersioningConfiguration.
    func ParseConfig(reader io.Reader) (*Versioning, error) {
    	var v Versioning
    	if err := xml.NewDecoder(reader).Decode(&v); err != nil {
    		return nil, err
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  9. cmd/batch-expire_test.go

        delay: 500ms # least amount of delay between each retry
    `
    	var job BatchJobRequest
    	err := yaml.UnmarshalStrict([]byte(expireYaml), &job)
    	if err != nil {
    		t.Fatal("Failed to parse batch-job-expire yaml", err)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. internal/crypto/sse-c.go

    // SSE-C.
    func (ssec) IsEncrypted(metadata map[string]string) bool {
    	if _, ok := metadata[MetaSealedKeySSEC]; ok {
    		return true
    	}
    	return false
    }
    
    // ParseHTTP parses the SSE-C headers and returns the SSE-C client key
    // on success. SSE-C copy headers are ignored.
    func (ssec) ParseHTTP(h http.Header) (key [32]byte, err error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
Back to top