Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 280 for Id (0.02 sec)

  1. cmd/storage-rest-common.go

    	storageRESTBitrotHash    = "bitrot-hash"
    	storageRESTDiskID        = "disk-id"
    	storageRESTForceDelete   = "force-delete"
    	storageRESTGlob          = "glob"
    	storageRESTMetrics       = "metrics"
    	storageRESTDriveQuorum   = "drive-quorum"
    	storageRESTOrigVolume    = "orig-volume"
    )
    
    type nsScannerOptions struct {
    	DiskID   string          `msg:"id"`
    	ScanMode int             `msg:"m"`
    	Cache    *dataUsageCache `msg:"c"`
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/runtime/trace2map_test.go

    			"aa",
    			"ab",
    			"ba",
    			"bb",
    		}
    		for i, s := range d {
    			id, inserted := m.PutString(s)
    			if !inserted {
    				t.Errorf("expected to have inserted string %q, but did not", s)
    			}
    			if id != uint64(i+1) {
    				t.Errorf("expected string %q to have ID %d, but got %d instead", s, i+1, id)
    			}
    		}
    		for i, s := range d {
    			id, inserted := m.PutString(s)
    			if inserted {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 18:52:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. internal/event/targetlist.go

    		if _, ok := list.targets[target.ID()]; ok {
    			return fmt.Errorf("target %v already exists", target.ID())
    		}
    		list.targets[target.ID()] = target
    	}
    
    	return nil
    }
    
    // Exists - checks whether target by target ID exists or not.
    func (list *TargetList) Exists(id TargetID) bool {
    	list.RLock()
    	defer list.RUnlock()
    
    	_, found := list.targets[id]
    	return found
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/rule_test.go

    	                    </Rule>`,
    			expectedErr: errInvalidRuleID,
    		},
    		{ // Rule with empty ID
    			inputXML: `<Rule>
    							<ID></ID>
    							<Filter><Prefix></Prefix></Filter>
    							<Expiration>
    								<Days>365</Days>
    							</Expiration>
                                <Status>Enabled</Status>
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/rsc.io/markdown/heading.go

    type Heading struct {
    	Position
    	Level int
    	Text  *Text
    	// The HTML id attribute. The parser populates this field if
    	// [Parser.HeadingIDs] is true and the heading ends with text like "{#id}".
    	ID string
    }
    
    func (b *Heading) PrintHTML(buf *bytes.Buffer) {
    	fmt.Fprintf(buf, "<h%d", b.Level)
    	if b.ID != "" {
    		fmt.Fprintf(buf, ` id="%s"`, htmlQuoteEscaper.Replace(b.ID))
    	}
    	buf.WriteByte('>')
    	b.Text.PrintHTML(buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/sysvshm_unix_other.go

    //go:build (darwin && !ios) || zos
    
    package unix
    
    // SysvShmCtl performs control operations on the shared memory segment
    // specified by id.
    func SysvShmCtl(id, cmd int, desc *SysvShmDesc) (result int, err error) {
    	return shmctl(id, cmd, desc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 407 bytes
    - Viewed (0)
  7. src/cmd/internal/buildid/buildid_test.go

    			continue
    		}
    		defer os.Remove(f)
    		id, err := ReadFile(f)
    		if id != expectedID || err != nil {
    			t.Errorf("ReadFile(testdata/%s) = %q, %v, want %q, nil", f, id, err, expectedID)
    		}
    		old := readSize
    		readSize = 2048
    		id, err = ReadFile(f)
    		readSize = old
    		if id != expectedID || err != nil {
    			t.Errorf("ReadFile(%s) [readSize=2k] = %q, %v, want %q, nil", f, id, err, expectedID)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. internal/logger/logonce.go

    	nerr := unwrapErrs(err)
    	l.Lock()
    	shouldLog := true
    	prev, ok := l.IDMap[id]
    	if !ok {
    		l.IDMap[id] = onceErr{
    			Err:   nerr,
    			Count: 1,
    		}
    	} else if prev.Err.Error() == nerr.Error() {
    		// if errors are equal do not log.
    		prev.Count++
    		l.IDMap[id] = prev
    		shouldLog = false
    	}
    	l.Unlock()
    
    	if shouldLog {
    		consoleLogIf(ctx, subsystem, err, errKind...)
    	}
    }
    
    const unwrapErrsDepth = 3
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/runtime/tracestring.go

    	ss := stringStructOf(&s)
    	id, added := t.tab.put(ss.str, uintptr(ss.len))
    	if added {
    		// Write the string to the buffer.
    		systemstack(func() {
    			t.writeString(gen, id, s)
    		})
    	}
    	return id
    }
    
    // emit emits a string and creates an ID for it, but doesn't add it to the table. Returns the ID.
    func (t *traceStringTable) emit(gen uintptr, s string) uint64 {
    	// Grab an ID and write the string to the buffer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/bootstraptoken/node/token.go

    	for _, token := range tokens {
    
    		secretName := bootstraputil.BootstrapTokenSecretName(token.Token.ID)
    		secret, err := client.CoreV1().Secrets(metav1.NamespaceSystem).Get(context.TODO(), secretName, metav1.GetOptions{})
    		if secret != nil && err == nil && failIfExists {
    			return errors.Errorf("a token with id %q already exists", token.Token.ID)
    		}
    
    		updatedOrNewSecret := bootstraptokenv1.BootstrapTokenToSecret(&token)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top