Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Hong (0.15 sec)

  1. internal/lock/lock_windows.go

    	// path cannot be so long that you cannot append an 8.3 file
    	// name (that is, the directory name cannot exceed MAX_PATH
    	// minus 12)." Since MAX_PATH is 260, 260 - 12 = 248.
    	//
    	// The MSDN docs appear to say that a normal path that is 248 bytes long
    	// will work; empirically the path must be less then 248 bytes long.
    	if len(path) < 248 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/cgo_thread_lock.go

    // license that can be found in the LICENSE file.
    
    //go:build linux
    
    package cgotest
    
    /*
    #include <unistd.h>
    #include <stdbool.h>
    #include <sys/syscall.h>
    void Gosched(void);
    static bool Ctid(void) {
    	long tid1 = syscall(SYS_gettid);
    	Gosched();
    	return tid1 == syscall(SYS_gettid);
    }
    */
    import "C"
    
    import (
    	"runtime"
    	"testing"
    	"time"
    )
    
    //export Gosched
    func Gosched() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu May 18 16:55:07 GMT 2023
    - 939 bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest.go

    func ManifestCmd(ctx cli.Context) *cobra.Command {
    	mc := &cobra.Command{
    		Use:   "manifest",
    		Short: "Commands related to Istio manifests",
    		Long:  "The manifest command generates and diffs Istio manifests.",
    	}
    
    	mgcArgs := &ManifestGenerateArgs{}
    	mdcArgs := &manifestDiffArgs{}
    
    	args := &RootArgs{}
    
    	mgc := ManifestGenerateCmd(ctx, args, mgcArgs)
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile-list.go

    }
    
    func profileListCmd(plArgs *profileListArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "list",
    		Short: "Lists available Istio configuration profiles",
    		Long:  "The list subcommand lists the available Istio configuration profiles.",
    		Args:  cobra.ExactArgs(0),
    		RunE: func(cmd *cobra.Command, args []string) error {
    			return profileList(cmd, plArgs)
    		},
    	}
    }
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. istioctl/pkg/xds/client.go

    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/adsc"
    	"istio.io/istio/pkg/kube"
    )
    
    const (
    	// defaultExpirationSeconds is how long-lived a token to request (an hour)
    	defaultExpirationSeconds = 60 * 60
    )
    
    // Audience to create tokens for
    var tokenAudiences = []string{"istio-ca"}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. operator/cmd/mesh/operator-init.go

    }
    
    func operatorInitCmd(ctx cli.Context, rootArgs *RootArgs, oiArgs *operatorInitArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "init",
    		Short: "Installs the Istio operator controller in the cluster.",
    		Long:  "The init subcommand installs the Istio operator controller in the cluster.",
    		Args:  cobra.ExactArgs(0),
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. internal/grid/msg.go

    	FlagPayloadIsErr
    
    	// FlagPayloadIsZero means that payload is 0-length slice and not nil.
    	FlagPayloadIsZero
    
    	// FlagSubroute indicates that the message has subroute.
    	// Subroute will be 32 bytes long and added before any CRC.
    	FlagSubroute
    )
    
    // This struct cannot be changed and retain backwards compatibility.
    // If changed, endpoint version must be bumped.
    //
    //msgp:tuple message
    type message struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest-generate.go

    }
    
    func ManifestGenerateCmd(ctx cli.Context, rootArgs *RootArgs, mgArgs *ManifestGenerateArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "generate",
    		Short: "Generates an Istio install manifest",
    		Long:  "The generate subcommand generates an Istio install manifest and outputs to the console by default.",
    		// nolint: lll
    		Example: `  # Generate a default Istio installation
      istioctl manifest generate
    
      # Enable Tracing
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  9. cmd/os_unix.go

    	if err := Mkdir(dirPath, perm); err != nil {
    		if osIsExist(err) {
    			return nil
    		}
    		return err
    	}
    
    	return nil
    }
    
    // The buffer must be at least a block long.
    // refer https://github.com/golang/go/issues/24015
    const blockSize = 8 << 10 // 8192
    
    // By default at least 128 entries in single getdents call (1MiB buffer)
    var (
    	direntPool = sync.Pool{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. operator/cmd/mesh/profile.go

    func ProfileCmd(_ cli.Context) *cobra.Command {
    	pc := &cobra.Command{
    		Use:   "profile",
    		Short: "Commands related to Istio configuration profiles",
    		Long:  "The profile command lists, dumps or diffs Istio configuration profiles.",
    		Example: "istioctl profile list\n" +
    			"istioctl install --set profile=demo  # Use a profile from the list",
    	}
    
    	pdArgs := &profileDumpArgs{}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top