Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 156 for println (0.21 sec)

  1. internal/grid/muxclient.go

    func (m *muxClient) response(seq uint32, r Response) {
    	if debugReqs {
    		fmt.Println(m.MuxID, m.parent.String(), "RESP")
    	}
    	if debugPrint {
    		fmt.Printf("mux %d: got msg seqid %d, payload length: %d, err:%v\n", m.MuxID, seq, len(r.Msg), r.Err)
    	}
    	if !m.checkSeq(seq) {
    		if debugReqs {
    			fmt.Println(m.MuxID, m.parent.String(), "CHECKSEQ FAIL", m.RecvSeq, seq)
    		}
    		PutByteBuffer(r.Msg)
    		r.Msg = nil
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  2. docs/sts/web-identity.go

    func main() {
    	flag.Parse()
    	if clientID == "" {
    		flag.PrintDefaults()
    		return
    	}
    
    	ddoc, err := parseDiscoveryDoc(configEndpoint)
    	if err != nil {
    		log.Println(fmt.Errorf("Failed to parse OIDC discovery document %s", err))
    		fmt.Println(err)
    		return
    	}
    
    	scopes := ddoc.ScopesSupported
    	if clientScopes != "" {
    		scopes = strings.Split(clientScopes, ",")
    	}
    
    	ctx := context.Background()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Viewed (3)
  3. operator/cmd/mesh/profile-list.go

    	profiles, err := helm.ListProfiles(plArgs.manifestsPath)
    	if err != nil {
    		return err
    	}
    	if len(profiles) == 0 {
    		cmd.Println("No profiles available.")
    	} else {
    		cmd.Println("Istio configuration profiles:")
    		sort.Strings(profiles)
    		for _, profile := range profiles {
    			cmd.Printf("    %s\n", profile)
    		}
    	}
    
    	return nil
    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)
  4. docs/debugging/hash-set/main.go

    		}
    		for set, files := range distrib {
    			fmt.Println("Set:", set+1, "Objects:", len(files))
    			if !verbose {
    				continue
    			}
    			for _, s := range files {
    				fmt.Printf("\t%s\n", s)
    			}
    		}
    		os.Exit(0)
    	}
    
    	if object == "" {
    		log.Fatalln("object name is mandatory")
    	}
    
    	if shards != 0 {
    		fmt.Println("Erasure distribution for the object", hashOrder(prefix+object, shards))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  5. internal/logger/target/console/console.go

    	}
    	if logger.IsJSON() {
    		logJSON, err := json.Marshal(&entry)
    		if err != nil {
    			return err
    		}
    		fmt.Println(string(logJSON))
    		return nil
    	}
    
    	if entry.Level == logger.EventKind {
    		fmt.Println(entry.Message)
    		return nil
    	}
    
    	traceLength := len(entry.Trace.Source)
    	trace := make([]string, traceLength)
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. internal/grid/benchmark_test.go

    					if err != nil {
    						if debugReqs {
    							fmt.Println(err.Error())
    						}
    						b.Fatal(err.Error())
    					}
    					got := 0
    					err = st.Results(func(b []byte) error {
    						got++
    						PutByteBuffer(b)
    						return nil
    					})
    					if err != nil {
    						if debugReqs {
    							fmt.Println(err.Error())
    						}
    						b.Fatal(err.Error())
    					}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  7. misc/ios/detect.go

    		fail("did not find mobile provision matching device udids %q", udids)
    	}
    
    	fmt.Println("# Available provisioning profiles below.")
    	fmt.Println("# NOTE: Any existing app on the device with the app id specified by GOIOS_APP_ID")
    	fmt.Println("# will be overwritten when running Go programs.")
    	for _, mp := range mps {
    		fmt.Println()
    		f, err := os.CreateTemp("", "go_ios_detect_")
    		check(err)
    		fname := f.Name()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  8. src/archive/zip/example_test.go

    	}
    	defer r.Close()
    
    	// Iterate through the files in the archive,
    	// printing some of their contents.
    	for _, f := range r.File {
    		fmt.Printf("Contents of %s:\n", f.Name)
    		rc, err := f.Open()
    		if err != nil {
    			log.Fatal(err)
    		}
    		_, err = io.CopyN(os.Stdout, rc, 68)
    		if err != nil {
    			log.Fatal(err)
    		}
    		rc.Close()
    		fmt.Println()
    	}
    	// Output:
    	// Contents of README:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 27 00:22:03 GMT 2016
    - 2K bytes
    - Viewed (0)
  9. istioctl/pkg/dashboard/dashboard.go

    			if err != nil {
    				return fmt.Errorf("failed to create k8s client: %v", err)
    			}
    			if labelSelector == "" && len(args) < 1 {
    				c.Println(c.UsageString())
    				return fmt.Errorf("specify a pod or --selector")
    			}
    
    			if labelSelector != "" && len(args) > 0 {
    				c.Println(c.UsageString())
    				return fmt.Errorf("name cannot be provided when a selector is specified")
    			}
    
    			if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  10. internal/logger/console.go

    		Message: message,
    		Time:    time.Now().UTC(),
    	})
    	if err != nil {
    		panic(err)
    	}
    	fmt.Println(string(logJSON))
    }
    
    func (i infoMsg) quiet(msg string, args ...interface{}) {
    }
    
    func (i infoMsg) pretty(msg string, args ...interface{}) {
    	if msg == "" {
    		c.Println(args...)
    	}
    	c.Printf(msg, args...)
    }
    
    type errorMsg struct{}
    
    var errorm errorMsg
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top