Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for WriteString (0.12 sec)

  1. cni/pkg/config/config.go

    	b.WriteString("KubeCAFile: " + c.KubeCAFile + "\n")
    	b.WriteString("SkipTLSVerify: " + fmt.Sprint(c.SkipTLSVerify) + "\n")
    
    	b.WriteString("ExcludeNamespaces: " + fmt.Sprint(c.ExcludeNamespaces) + "\n")
    	b.WriteString("K8sServiceProtocol: " + c.K8sServiceProtocol + "\n")
    	b.WriteString("K8sServiceHost: " + c.K8sServiceHost + "\n")
    	b.WriteString("K8sServicePort: " + fmt.Sprint(c.K8sServicePort) + "\n")
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. cni/pkg/plugin/kubernetes.go

    }
    
    func (pi PodInfo) String() string {
    	var b strings.Builder
    	b.WriteString(fmt.Sprintf("  Containers: %v\n", sets.SortedList(pi.Containers)))
    	b.WriteString(fmt.Sprintf("  Labels: %+v\n", pi.Labels))
    	b.WriteString(fmt.Sprintf("  Annotations: %+v\n", pi.Annotations))
    	b.WriteString(fmt.Sprintf("  Envs: %+v\n", pi.ProxyEnvironments))
    	b.WriteString(fmt.Sprintf("  ProxyConfig: %+v\n", pi.ProxyEnvironments))
    	return b.String()
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    }
    
    func (w *teststringwriter) WriteString(s string) (int, error) {
    	w.writeString += s
    	return len(s), nil
    }
    
    func (w *teststringwriter) check(t *testing.T, write, writeString string) {
    	t.Helper()
    	if w.write != write {
    		t.Errorf("write: expected %q, got %q", write, w.write)
    	}
    	if w.writeString != writeString {
    		t.Errorf("writeString: expected %q, got %q", writeString, w.writeString)
    	}
    }
    
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Oct 28 21:04:51 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  4. cmd/batch-replicate_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.AccessKey)
    	if err != nil {
    		err = msgp.WrapError(err, "AccessKey")
    		return
    	}
    	// write "SecretKey"
    	err = en.Append(0xa9, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.SecretKey)
    	if err != nil {
    		err = msgp.WrapError(err, "SecretKey")
    		return
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  5. cmd/mrf_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Bucket)
    	if err != nil {
    		err = msgp.WrapError(err, "Bucket")
    		return
    	}
    	// write "Object"
    	err = en.Append(0xa6, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Object)
    	if err != nil {
    		err = msgp.WrapError(err, "Object")
    		return
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. cmd/storage-datatypes_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "Scanning")
    		return
    	}
    	err = en.WriteString(z.Endpoint)
    	if err != nil {
    		err = msgp.WrapError(err, "Endpoint")
    		return
    	}
    	err = en.WriteString(z.MountPath)
    	if err != nil {
    		err = msgp.WrapError(err, "MountPath")
    		return
    	}
    	err = en.WriteString(z.ID)
    	if err != nil {
    		err = msgp.WrapError(err, "ID")
    		return
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  7. internal/config/config.go

    func (cs *SubsysInfo) AddEnvString(b *strings.Builder) {
    	for _, v := range cs.Defaults {
    		if ep, ok := cs.EnvMap[v.Key]; ok {
    			b.WriteString(KvComment)
    			b.WriteString(KvSpaceSeparator)
    			b.WriteString(ep.Name)
    			b.WriteString(EnvSeparator)
    			b.WriteString(ep.Value)
    			b.WriteString(KvNewline)
    		}
    	}
    }
    
    // WriteTo writes the string representation of the configuration to the given
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    	case *types.Signature:
    		buf.WriteString("func")
    		w.writeSignature(buf, typ)
    
    	case *types.Interface:
    		buf.WriteString("interface{")
    		if typ.NumMethods() > 0 || typ.NumEmbeddeds() > 0 {
    			buf.WriteByte(' ')
    		}
    		if typ.NumMethods() > 0 {
    			buf.WriteString(strings.Join(sortedMethodNames(typ), ", "))
    		}
    		if typ.NumEmbeddeds() > 0 {
    			buf.WriteString(strings.Join(w.sortedEmbeddeds(typ), ", "))
    		}
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  9. cmd/batch-handlers_gen.go

    	// write "ID"
    	err = en.Append(0x86, 0xa2, 0x49, 0x44)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.ID)
    	if err != nil {
    		err = msgp.WrapError(err, "ID")
    		return
    	}
    	// write "User"
    	err = en.Append(0xa4, 0x55, 0x73, 0x65, 0x72)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.User)
    	if err != nil {
    		err = msgp.WrapError(err, "User")
    		return
    	}
    	// write "Started"
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v1_gen.go

    		if err != nil {
    			err = msgp.WrapError(err, "Checksums")
    			return
    		}
    		for za0001, za0002 := range z.Checksums {
    			err = en.WriteString(za0001)
    			if err != nil {
    				err = msgp.WrapError(err, "Checksums")
    				return
    			}
    			err = en.WriteString(za0002)
    			if err != nil {
    				err = msgp.WrapError(err, "Checksums", za0001)
    				return
    			}
    		}
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top