Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 627 for wsprefix (0.05 sec)

  1. src/cmd/cgo/gcc.go

    			// with reg_ prefixes.
    			if strings.HasPrefix(n.Name, "orig_") || strings.HasPrefix(n.Name, "_") {
    				continue
    			}
    			i := strings.Index(n.Name, "_")
    			if i < 0 {
    				continue
    			}
    			if prefix == "" {
    				prefix = n.Name[:i+1]
    			} else if prefix != n.Name[:i+1] {
    				return ""
    			}
    		}
    	}
    	return prefix
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  2. internal/kms/secret-key.go

    // ListKeys returns a list of keys with metadata. The builtin KMS consists of just a single key.
    func (s secretKey) ListKeys(ctx context.Context, req *ListRequest) ([]madmin.KMSKeyInfo, string, error) {
    	if strings.HasPrefix(s.keyID, req.Prefix) && strings.HasPrefix(s.keyID, req.ContinueAt) {
    		return []madmin.KMSKeyInfo{{Name: s.keyID}}, "", nil
    	}
    	return []madmin.KMSKeyInfo{}, "", nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    		// Tests on hierarchical key names as prefix.
    		// Without delimteter the code should recurse into the prefix Dir.
    		// Tests with prefix, but without delimiter (53-54).
    		{"test-bucket-list-object", "Asia/India/", "", "", 10, resultCases[23], nil, true},
    		{"test-bucket-list-object", "Asia", "", "", 10, resultCases[24], nil, true},
    		// Tests with prefix and delimiter (55-57).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  4. internal/etag/etag.go

    		}
    		return ETag(etag), nil
    	}
    
    	prefix, suffix := s[:n], s[n:]
    	if len(prefix) != 32 {
    		return nil, fmt.Errorf("etag: invalid prefix length %d", len(prefix))
    	}
    	if len(suffix) <= 1 {
    		return nil, errors.New("etag: suffix is not a part number")
    	}
    
    	etag, err := hex.DecodeString(prefix)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. cmd/s3-zip-handlers.go

    		if objName <= startAfter || objName <= token {
    			continue
    		}
    		if strings.HasPrefix(objName, prefix) {
    			if count == maxKeys {
    				isTruncated = true
    				break
    			}
    			if delimiter != "" {
    				i := strings.Index(objName[len(prefix):], delimiter)
    				if i >= 0 {
    					commonPrefix := objName[:len(prefix)+i+1]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. cmd/batch-rotate.go

    	Flags      BatchJobKeyRotateFlags      `yaml:"flags" json:"flags"`
    	Bucket     string                      `yaml:"bucket" json:"bucket"`
    	Prefix     string                      `yaml:"prefix" json:"prefix"`
    	Encryption BatchJobKeyRotateEncryption `yaml:"encryption" json:"encryption"`
    }
    
    // Notify notifies notification endpoint if configured regarding job failure or success.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. src/bufio/bufio_test.go

    	for i, e := range expect {
    		line, isPrefix, err := b.ReadLine()
    		if !bytes.Equal(line, e.line) {
    			t.Errorf("%q call %d, line == %q, want %q", input, i, line, e.line)
    			return
    		}
    		if isPrefix != e.isPrefix {
    			t.Errorf("%q call %d, isPrefix == %v, want %v", input, i, isPrefix, e.isPrefix)
    			return
    		}
    		if err != e.err {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    		objInfoCh := make(chan miniogo.ObjectInfo, 1)
    		go func() {
    			prefixes := r.Source.Prefix.F()
    			if len(prefixes) == 0 {
    				prefixes = []string{""}
    			}
    			for _, prefix := range prefixes {
    				prefixObjInfoCh := c.ListObjects(ctx, r.Source.Bucket, miniogo.ListObjectsOptions{
    					Prefix:       prefix,
    					WithVersions: minioSrc,
    					Recursive:    true,
    					WithMetadata: true,
    				})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    func (p *Parser) register(name string, prefix rune) (r1, r2 int16, scale int8, ok bool) {
    	// R1 or R(1) R1:R2 R1,R2 R1+R2, or R1*scale.
    	r1, ok = p.registerReference(name)
    	if !ok {
    		return
    	}
    	if prefix != 0 && prefix != '*' { // *AX is OK.
    		p.errorf("prefix %c not allowed for register: %c%s", prefix, prefix, name)
    	}
    	c := p.peek()
    	if c == ':' || c == ',' || c == '+' {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    		}
    
    		// The prefix field should never appear in the GNU format.
    		var blk block
    		copy(blk[:], b.Bytes())
    		prefix := string(blk.toUSTAR().prefix())
    		prefix, _, _ = strings.Cut(prefix, "\x00") // Truncate at the NUL terminator
    		if blk.getFormat() == FormatGNU && len(prefix) > 0 && strings.HasPrefix(name, prefix) {
    			t.Errorf("test %d, found prefix in GNU format: %s", i, prefix)
    		}
    
    		tr := NewReader(&b)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top