Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 392 for May (0.21 sec)

  1. src/archive/tar/reader.go

    //
    // If Next encounters a non-local name (as defined by [filepath.IsLocal])
    // and the GODEBUG environment variable contains `tarinsecurepath=0`,
    // Next returns the header with an [ErrInsecurePath] error.
    // A future version of Go may introduce this behavior by default.
    // Programs that want to accept non-local names can ignore
    // the [ErrInsecurePath] error and use the returned header.
    func (tr *Reader) Next() (*Header, error) {
    	if tr.err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  2. internal/kms/context.go

    package kms
    
    import (
    	"bytes"
    	"sort"
    	"unicode/utf8"
    )
    
    // Context is a set of key-value pairs that
    // are associated with a generate data encryption
    // key (DEK).
    //
    // A KMS implementation may bind the context to the
    // generated DEK such that the same context must be
    // provided when decrypting an encrypted DEK.
    type Context map[string]string
    
    // MarshalText returns a canonical text representation of
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Viewed (0)
  3. misc/go_android_exec/main.go

    		// wrapper itself is compiled for Windows.
    		deviceCwd = path.Join(deviceGoroot, "src", importPath)
    	} else {
    		deviceCwd = path.Join(deviceGopath, "src", importPath)
    		if modDir != "" {
    			// In module mode, the user may reasonably expect the entire module
    			// to be present. Copy it over.
    			deviceModDir := path.Join(deviceGopath, "src", modPath)
    			if err := adb("exec-out", "mkdir", "-p", path.Dir(deviceModDir)); err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  4. src/archive/zip/writer.go

    	}
    	return nil
    }
    
    // CreateHeader adds a file to the zip archive using the provided [FileHeader]
    // for the file metadata. [Writer] takes ownership of fh and may mutate
    // its fields. The caller must not modify fh after calling [Writer.CreateHeader].
    //
    // This returns a [Writer] to which the file contents should be written.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. istioctl/pkg/kubeinject/kubeinject.go

    // Copyright Istio Authors
    //
    // Licensed under the Apache License, Version 2.0 (the "License");
    // you may not use this file except in compliance with the License.
    // You may obtain a copy of the License at
    //
    //     http://www.apache.org/licenses/LICENSE-2.0
    //
    // Unless required by applicable law or agreed to in writing, software
    // distributed under the License is distributed on an "AS IS" BASIS,
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/proxyconfig.go

    // Copyright Istio Authors
    //
    // Licensed under the Apache License, Version 2.0 (the "License");
    // you may not use this file except in compliance with the License.
    // You may obtain a copy of the License at
    //
    //     http://www.apache.org/licenses/LICENSE-2.0
    //
    // Unless required by applicable law or agreed to in writing, software
    // distributed under the License is distributed on an "AS IS" BASIS,
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  7. cmd/metacache-walk.go

    		sort.Strings(entries)
    		dirStack := make([]string, 0, 5)
    		prefix = "" // Remove prefix after first level as we have already filtered the list.
    		if len(forward) > 0 {
    			// Conservative forwarding. Entries may be either objects or prefixes.
    			for i, entry := range entries {
    				if entry >= forward || strings.HasPrefix(forward, entry) {
    					entries = entries[i:]
    					break
    				}
    			}
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  8. cmd/sftp-server-driver.go

    			return errors.New("deleting all buckets not allowed")
    		}
    
    		cctx, cancel := context.WithCancel(context.Background())
    		defer cancel()
    
    		if prefix == "" {
    			// if all objects are not deleted yet this call may fail.
    			return clnt.RemoveBucket(cctx, bucket)
    		}
    
    		objectsCh := make(chan minio.ObjectInfo)
    
    		// Send object names that are needed to be removed to objectsCh
    		go func() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  9. cmd/sts-handlers.go

    		return
    	}
    
    	claims[expClaim] = UTCNow().Add(duration).Unix()
    	claims[parentClaim] = user.AccessKey
    
    	// Validate that user.AccessKey's policies can be retrieved - it may not
    	// be in case the user is disabled.
    	if _, err = globalIAMSys.PolicyDBGet(user.AccessKey, user.Groups...); err != nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  10. internal/kms/kes.go

    			}
    		}
    	}()
    
    	go c.refreshKMSMasterKeyCache(logger)
    	return c, nil
    }
    
    // Request KES keep an up-to-date copy of the KMS master key to allow minio to start up even if KMS is down. The
    // cached key may still be evicted if the period of this function is longer than that of KES .cache.expiry.unused
    func (c *kesClient) refreshKMSMasterKeyCache(logger Logger) {
    	ctx := context.Background()
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top