Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 160 for passed (0.15 sec)

  1. cmd/config-current.go

    	env.SetEnvOff()
    
    	// Enable env values to validate KMS.
    	defer env.SetEnvOn()
    	if subSys != "" {
    		return validateSubSysConfig(ctx, s, subSys, objAPI)
    	}
    
    	// No sub-system passed. Validate all of them.
    	for _, ss := range config.SubSystems.ToSlice() {
    		if err := validateSubSysConfig(ctx, s, ss, objAPI); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  2. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		set++
    	}
    	if len(args) == 1 {
    		set++
    	}
    	if c.node != "" {
    		set++
    	}
    	if set > 1 {
    		cmd.Println(cmd.UsageString())
    		return fmt.Errorf("at most one of --file, --node, or pod name must be passed")
    	}
    	return nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/swig/testdata/stdio/main.go

    // license that can be found in the LICENSE file.
    
    // This file is here just to cause problems.
    // main.swig turns into a file also named main.go.
    // Make sure cmd/go keeps them separate
    // when both are passed to cgo.
    
    package main
    
    //int F(void) { return 1; }
    import "C"
    import (
    	"fmt"
    	"os"
    )
    
    func F() int { return int(C.F()) }
    
    func main() {
    	if x := int(C.F()); x != 1 {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 975 bytes
    - Viewed (0)
  4. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    		return
    	}
    
    	// Read escaped copy source path to check for parameters.
    	cpSrcPath := r.Header.Get(xhttp.AmzCopySource)
    	var vid string
    	if u, err := url.Parse(cpSrcPath); err == nil {
    		vid = strings.TrimSpace(u.Query().Get(xhttp.VersionID))
    		// Note that url.Parse does the unescaping
    		cpSrcPath = u.Path
    	}
    
    	srcBucket, srcObject := path2BucketObject(cpSrcPath)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  6. cmd/utils_test.go

    		t.Fatal("Expected a non nil error, but nil error returned for invalid profiler.")
    	}
    }
    
    // checkURL - checks if passed address correspond
    func checkURL(urlStr string) (*url.URL, error) {
    	if urlStr == "" {
    		return nil, errors.New("Address cannot be empty")
    	}
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		return nil, fmt.Errorf("`%s` invalid: %s", urlStr, err.Error())
    	}
    	return u, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 23 21:28:14 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. cmd/erasure-encode_test.go

    		closeBitrotWriters(writers)
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: should pass but failed with: %v", i, err)
    		}
    		if err == nil && test.shouldFail {
    			t.Errorf("Test %d: should fail but it passed", i)
    		}
    		for i, w := range writers {
    			if w == nil {
    				disks[i] = OfflineDisk
    			}
    		}
    		if err == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. src/bytes/buffer.go

    	opReadRune1 readOp = 1  // Read rune of size 1.
    	opReadRune2 readOp = 2  // Read rune of size 2.
    	opReadRune3 readOp = 3  // Read rune of size 3.
    	opReadRune4 readOp = 4  // Read rune of size 4.
    )
    
    // ErrTooLarge is passed to panic if memory cannot be allocated to store data in a buffer.
    var ErrTooLarge = errors.New("bytes.Buffer: too large")
    var errNegativeRead = errors.New("bytes.Buffer: reader returned negative count from Read")
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-generate_test.go

    	}
    	objs, err := object.ParseK8sObjectsFromYAMLManifest(manifest)
    	return manifest, objs, err
    }
    
    // runManifestGenerate runs the manifest generate command. If filenames is set, passes the given filenames as -f flag,
    // flags is passed to the command verbatim. If you set both flags and path, make sure to not use -f in flags.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    // to the default size.
    // Calling b.Reset(b) (that is, resetting a [Reader] to itself) does nothing.
    func (b *Reader) Reset(r io.Reader) {
    	// If a Reader r is passed to NewReader, NewReader will return r.
    	// Different layers of code may do that, and then later pass r
    	// to Reset. Avoid infinite recursion in that case.
    	if b == r {
    		return
    	}
    	if b.buf == nil {
    		b.buf = make([]byte, defaultBufSize)
    	}
    	b.reset(b.buf, r)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
Back to top