Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 102 for Wong (0.13 sec)

  1. src/archive/tar/strconv.go

    	if n := len(b) - len(s) - 1; n > 0 {
    		s = strings.Repeat("0", n) + s
    	}
    	f.formatString(b, s)
    }
    
    // fitsInOctal reports whether the integer x fits in a field n-bytes long
    // using octal encoding with the appropriate NUL terminator.
    func fitsInOctal(n int, x int64) bool {
    	octBits := uint(n-1) * 3
    	return x >= 0 && (n >= 22 || x < 1<<octBits)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  2. istioctl/pkg/admin/istiodconfig.go

    	logCmd := &cobra.Command{
    		Use:   "log [<pod-name>]|[-r|--revision] [--level <scope>:<level>][--stack-trace-level <scope>:<level>]|[--reset]|[--output|-o short|json|yaml]",
    		Short: "Manage istiod logging.",
    		Long:  "Retrieve or update logging levels of istiod components.",
    		Example: `  # Retrieve information about istiod logging levels.
      istioctl admin log
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  3. src/bytes/buffer.go

    	m, ok := b.tryGrowByReslice(len(s))
    	if !ok {
    		m = b.grow(len(s))
    	}
    	return copy(b.buf[m:], s), nil
    }
    
    // MinRead is the minimum slice size passed to a Read call by
    // [Buffer.ReadFrom]. As long as the [Buffer] has at least MinRead bytes beyond
    // what is required to hold the contents of r, ReadFrom will not grow the
    // underlying buffer.
    const MinRead = 512
    
    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)
  4. cmd/metacache-stream.go

    		case <-ctx.Done():
    			r.err = ctx.Err()
    			return ctx.Err()
    		case dst <- meta:
    		}
    	}
    }
    
    // readFn will return all remaining objects
    // and provide a callback for each entry read in order
    // as long as true is returned on the callback.
    func (r *metacacheReader) readFn(fn func(entry metaCacheEntry) bool) error {
    	r.checkInit()
    	if r.err != nil {
    		return r.err
    	}
    	if r.current.name != "" {
    		fn(r.current)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. operator/cmd/mesh/install.go

    	ic := &cobra.Command{
    		Use:     "install",
    		Short:   "Applies an Istio manifest, installing or reconfiguring Istio on a cluster.",
    		Long:    "The install command generates an Istio install manifest and applies it to a cluster.",
    		Aliases: []string{"apply"},
    		// nolint: lll
    		Example: `  # Apply a default Istio installation
      istioctl install
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  6. internal/dsync/drwmutex.go

    					// so exit out and release any locks that did get acquired
    					done = true
    				}
    			}
    		case <-ctx.Done():
    			// Capture timedout locks as failed or took too long
    			locksFailed++
    			if locksFailed > tolerance {
    				// We know that we are not going to get the lock anymore,
    				// so exit out and release any locks that did get acquired
    				done = true
    			}
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. istioctl/pkg/kubeinject/kubeinject.go

    	var opts clioptions.ControlPlaneOptions
    	var centralOpts clioptions.CentralControlPlaneOptions
    
    	injectCmd := &cobra.Command{
    		Use:   "kube-inject",
    		Short: "Inject Istio sidecar into Kubernetes pod resources",
    		Long: `
    kube-inject manually injects the Istio sidecar into Kubernetes
    workloads. Unsupported resources are left unmodified so it is safe to
    run kube-inject over a single file that contains multiple Service,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  8. src/bufio/bufio.go

    // [Reader.ReadBytes]('\n') or [Reader.ReadString]('\n') instead or use a [Scanner].
    //
    // ReadLine tries to return a single line, not including the end-of-line bytes.
    // If the line was too long for the buffer then isPrefix is set and the
    // beginning of the line is returned. The rest of the line will be returned
    // from future calls. isPrefix will be false when returning the last fragment
    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)
  9. internal/config/config.go

    	Region string
    }
    
    var validRegionRegex = regexp.MustCompile("^[a-zA-Z][a-zA-Z0-9-_-]+$")
    
    // validSiteNameRegex - allows lowercase letters, digits and '-', starts with
    // letter. At least 2 characters long.
    var validSiteNameRegex = regexp.MustCompile("^[a-z][a-z0-9-]+$")
    
    // LookupSite - get site related configuration. Loads configuration from legacy
    // region sub-system as well.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    			hr := healResp{respBytes, apiErr, errMsg}
    			respCh <- hr
    		}()
    	}
    
    	// Due to the force-starting functionality, the Launch
    	// call above can take a long time - to keep the
    	// connection alive, we start sending whitespace
    	keepConnLive(w, r, respCh)
    }
    
    // getAggregatedBackgroundHealState returns the heal state of disks.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top