Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Astrup (0.23 sec)

  1. src/cmd/asm/internal/lex/slice.go

    	//	#define A #define B(x) x
    	// and
    	//	#define A #define B (x) x
    	// The first definition of B has an argument, the second doesn't. Because we let
    	// text/scanner strip the blanks for us, this is extremely rare, hard to fix, and not worth it.
    	return s.pos
    }
    
    func (s *Slice) Close() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jun 29 22:49:50 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    			invp := InvalidPart{
    				PartNumber: part.PartNumber,
    				GotETag:    part.ETag,
    			}
    			return oi, invp
    		}
    		expPart := currentFI.Parts[partIdx]
    
    		// ensure that part ETag is canonicalized to strip off extraneous quotes
    		part.ETag = canonicalizeETag(part.ETag)
    		expETag := tryDecryptETag(objectEncryptionKey, expPart.ETag, kind == crypto.S3)
    		if expETag != part.ETag {
    			invp := InvalidPart{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users_test.go

    		TestSuiteCommon:       c,
    		ServerTypeDescription: fmt.Sprintf("%s%s", c.serverType, etcdStr),
    		withEtcdBackend:       withEtcdBackend,
    	}
    }
    
    func (s *TestSuiteIAM) iamSetup(c *check) {
    	var err error
    	// strip url scheme from endpoint
    	s.endpoint = strings.TrimPrefix(s.endPoint, "http://")
    	if s.secure {
    		s.endpoint = strings.TrimPrefix(s.endPoint, "https://")
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  4. cmd/signature-v4-parser.go

    	ch, s3Err := parseCredentialHeader("Credential="+r.Form.Get(xhttp.AmzCredential), region, stype)
    	if s3Err != ErrNone {
    		// Strip off the Algorithm prefix.
    		v4Auth := strings.TrimPrefix(r.Header.Get("Authorization"), signV4Algorithm)
    		authFields := strings.Split(strings.TrimSpace(v4Auth), ",")
    		if len(authFields) != 3 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. internal/handlers/proxy.go

    		// extract the first, which should be the client IP.
    		if match := forRegex.FindStringSubmatch(fwd); len(match) > 1 {
    			// IPv6 addresses in Forwarded headers are quoted-strings. We strip
    			// these quotes.
    			addr = strings.Trim(match[1], `"`)
    		}
    	}
    
    	return addr
    }
    
    // GetSourceIPRaw retrieves the IP from the request headers
    // and falls back to r.RemoteAddr when necessary.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. internal/config/dns/types.go

    	// a srv.Target domain name.  Normally we convert the full Key where
    	// the record lives to a DNS name and use this as the srv.Target. When
    	// TargetStrip > 0 we strip the left most TargetStrip labels from the
    	// DNS name.
    	TargetStrip int `json:"targetstrip,omitempty"`
    
    	// Group is used to group (or *not* to group) different services
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2K bytes
    - Viewed (0)
  7. cmd/server-startup-msg.go

    // Returns true if input is IPv6
    func isIPv6(host string) bool {
    	h, _, err := net.SplitHostPort(host)
    	if err != nil {
    		h = host
    	}
    	ip := net.ParseIP(h)
    	return ip.To16() != nil && ip.To4() == nil
    }
    
    // strip api endpoints list with standard ports such as
    // port "80" and "443" before displaying on the startup
    // banner.  Returns a new list of API endpoints.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    // slice or array being indexed, but no other part of the memory allocation.
    func (p *Package) checkIndex(sb, sbCheck *bytes.Buffer, arg ast.Expr, i int) bool {
    	// Strip type conversions.
    	x := arg
    	for {
    		c, ok := x.(*ast.CallExpr)
    		if !ok || len(c.Args) != 1 {
    			break
    		}
    		if !p.isType(c.Fun) && !p.isUnsafeData(c.Fun, false) {
    			break
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. internal/config/dns/etcd_dns.go

    	}
    
    	for _, setter := range setters {
    		setter(args)
    	}
    
    	if len(args.domainNames) == 0 || args.domainIPs.IsEmpty() {
    		return nil, errors.New("invalid argument")
    	}
    
    	// strip ports off of domainIPs
    	domainIPsWithoutPorts := args.domainIPs.ApplyFunc(func(ip string) string {
    		host, _, err := net.SplitHostPort(ip)
    		if err != nil {
    			if strings.Contains(err.Error(), "missing port in address") {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  10. istioctl/pkg/waypoint/waypoint.go

    			gw, err := makeGateway(false)
    			if err != nil {
    				return fmt.Errorf("failed to create gateway: %v", err)
    			}
    			b, err := yaml.Marshal(gw)
    			if err != nil {
    				return err
    			}
    			// strip junk
    			res := strings.ReplaceAll(string(b), `  creationTimestamp: null
    `, "")
    			res = strings.ReplaceAll(res, `status: {}
    `, "")
    			fmt.Fprint(cmd.OutOrStdout(), res)
    			return nil
    		},
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 16:16:40 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top