Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for cark (0.15 sec)

  1. src/cmd/api/main_test.go

    							for _, id := range spec.Names {
    								mark(id)
    							}
    						case *ast.TypeSpec:
    							mark(spec.Name)
    						}
    					}
    				}
    				return true // look at specs
    			case *ast.FuncDecl:
    				if isDeprecated(n.Doc) {
    					mark(n.Name)
    				}
    				return false
    			case *ast.TypeSpec:
    				if isDeprecated(n.Doc) {
    					mark(n.Name)
    				}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  2. cmd/erasure-encode.go

    			}...) {
    				return 0, err
    			}
    		}
    
    		eof := err == io.EOF || err == io.ErrUnexpectedEOF
    		if n == 0 && total != 0 {
    			// Reached EOF, nothing more to be done.
    			break
    		}
    
    		// We take care of the situation where if n == 0 and total == 0 by creating empty data and parity files.
    		blocks, err = e.EncodeData(ctx, buf[:n])
    		if err != nil {
    			return 0, err
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. cmd/storage-interface.go

    	// Indicates if disk is local or not.
    	IsLocal() bool
    
    	// Returns hostname if disk is remote.
    	Hostname() string
    
    	// Returns the entire endpoint.
    	Endpoint() Endpoint
    
    	// Close the disk, mark it purposefully closed, only implemented for remote disks.
    	Close() error
    
    	// Returns the unique 'uuid' of this disk.
    	GetDiskID() (string, error)
    
    	// Set a unique 'uuid' for this disk, only used when
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver_test.go

    	devNull, err := os.Open(os.DevNull)
    	if err != nil {
    		panic(err)
    	}
    	// we can't close this now, because we need to pass it from the ztunnel server to the client
    	// it would leak, but this is a test, so we don't care
    	//	defer devNull.Close()
    
    	id := ztunnelTestCounter.Add(1)
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: fmt.Sprintf("name-%d", id),
    			UID:  types.UID(fmt.Sprintf("uid-%d", id)),
    		},
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  5. internal/dsync/drwmutex.go

    	// c) timed out
    	//
    	i, locksFailed := 0, 0
    	done := false
    
    	for ; i < len(restClnts); i++ { // Loop until we acquired all locks
    		select {
    		case grant := <-ch:
    			if grant.isLocked() {
    				// Mark that this node has acquired the lock
    				(*locks)[grant.index] = grant.lockUID
    			} else {
    				locksFailed++
    				if locksFailed > tolerance {
    					// We know that we are not going to get the lock anymore,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    		// Ignore warnings and random comments, with one
    		// exception: newer GCC versions will sometimes emit
    		// an error on a macro #define with a note referring
    		// to where the expansion occurs. We care about where
    		// the expansion occurs, so in that case treat the note
    		// as an error.
    		isError := strings.Contains(line, ": error:")
    		isErrorNote := strings.Contains(line, ": note:") && sawUnmatchedErrors
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    		return
    	}
    
    	if serviceAccount == siteReplicatorSvcAcc && globalSiteReplicationSys.isEnabled() {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidArgument), r.URL)
    		return
    	}
    	// We do not care if service account is readable or not at this point,
    	// since this is a delete call we shall allow it to be deleted if possible.
    	svcAccount, _, err := globalIAMSys.GetServiceAccount(ctx, serviceAccount)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  8. src/cmd/cgo/ast.go

    func (f *File) saveRef(n *ast.Expr, context astContext) {
    	sel := (*n).(*ast.SelectorExpr)
    	// For now, assume that the only instance of capital C is when
    	// used as the imported package identifier.
    	// The parser should take care of scoping in the future, so
    	// that we will be able to distinguish a "top-level C" from a
    	// local C.
    	if l, ok := sel.X.(*ast.Ident); !ok || l.Name != "C" {
    		return
    	}
    	if context == ctxAssign2 {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  9. istioctl/pkg/tag/tag.go

    	cmd := &cobra.Command{
    		Use:   "remove <revision-tag>",
    		Short: "Remove Istio control plane revision tag",
    		Long: `Remove Istio control plane revision tag.
    
    Removing a revision tag should be done with care. Removing a revision tag will disrupt sidecar injection in namespaces
    that reference the tag in an "istio.io/rev" label. Verify that there are no remaining namespaces referencing a
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  10. cmd/iam-object-store.go

    			iamLogIf(GlobalContext,
    				fmt.Errorf("unable to load policies during STS purge: %w (%s)", err, item))
    		}
    
    	}
    
    	// Store the newly populated map in the iam cache. This takes care of
    	// removing stale entries from the existing map.
    	iamOS.Lock()
    	defer iamOS.Unlock()
    	iamOS.iamCache.iamSTSAccountsMap = stsAccountsFromStore
    	iamOS.iamCache.iamSTSPolicyMap = stsAccPoliciesFromStore
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top