Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 111 for WriteString (0.15 sec)

  1. 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)
  2. 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)
  3. cmd/erasure-server-pool-decom_gen.go

    		return
    	}
    	for za0002 := range z.DecommissionedBuckets {
    		err = en.WriteString(z.DecommissionedBuckets[za0002])
    		if err != nil {
    			err = msgp.WrapError(err, "DecommissionedBuckets", za0002)
    			return
    		}
    	}
    	// write "bkt"
    	err = en.Append(0xa3, 0x62, 0x6b, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Bucket)
    	if err != nil {
    		err = msgp.WrapError(err, "Bucket")
    		return
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (0)
  4. istioctl/pkg/authz/listener.go

    				}
    				if len(rbacTCP.GetRules().GetPolicies()) == 0 {
    					addPolicy(action, anonymousName, "0")
    				}
    			}
    		}
    	}
    
    	buf := strings.Builder{}
    	buf.WriteString("ACTION\tAuthorizationPolicy\tRULES\n")
    	for _, action := range []rbacpb.RBAC_Action{rbacpb.RBAC_DENY, rbacpb.RBAC_ALLOW, rbacpb.RBAC_LOG} {
    		if names, ok := actionToPolicy[action]; ok {
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Mon Sep 11 15:29:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. 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)
  6. clause/values.go

    			}
    			builder.WriteQuoted(column)
    		}
    		builder.WriteByte(')')
    
    		builder.WriteString(" VALUES ")
    
    		for idx, value := range values.Values {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    
    			builder.WriteByte('(')
    			builder.AddVar(builder, value...)
    			builder.WriteByte(')')
    		}
    	} else {
    		builder.WriteString("DEFAULT VALUES")
    	}
    }
    
    // MergeClause merge values clauses
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Sun May 24 03:35:19 UTC 2020
    - 849 bytes
    - Viewed (0)
  7. internal/auth/credentials.go

    func (cred Credentials) String() string {
    	var s strings.Builder
    	s.WriteString(cred.AccessKey)
    	s.WriteString(":")
    	s.WriteString(cred.SecretKey)
    	if cred.SessionToken != "" {
    		s.WriteString("\n")
    		s.WriteString(cred.SessionToken)
    	}
    	if !cred.Expiration.IsZero() && !cred.Expiration.Equal(timeSentinel) {
    		s.WriteString("\n")
    		s.WriteString(cred.Expiration.String())
    	}
    	return s.String()
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. clause/select.go

    	Columns    []Column
    	Expression Expression
    }
    
    func (s Select) Name() string {
    	return "SELECT"
    }
    
    func (s Select) Build(builder Builder) {
    	if len(s.Columns) > 0 {
    		if s.Distinct {
    			builder.WriteString("DISTINCT ")
    		}
    
    		for idx, column := range s.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    			builder.WriteQuoted(column)
    		}
    	} else {
    		builder.WriteByte('*')
    	}
    }
    
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Wed Jul 14 07:51:24 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. cmd/batch-job-common-types_gen.go

    	// write "Key"
    	err = en.Append(0x82, 0xa3, 0x4b, 0x65, 0x79)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Key)
    	if err != nil {
    		err = msgp.WrapError(err, "Key")
    		return
    	}
    	// write "Value"
    	err = en.Append(0xa5, 0x56, 0x61, 0x6c, 0x75, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Value)
    	if err != nil {
    		err = msgp.WrapError(err, "Value")
    		return
    	}
    	return
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  10. statement.go

    	JoinType clause.JoinType
    }
    
    // StatementModifier statement modifier interface
    type StatementModifier interface {
    	ModifyStatement(*Statement)
    }
    
    // WriteString write string
    func (stmt *Statement) WriteString(str string) (int, error) {
    	return stmt.SQL.WriteString(str)
    }
    
    // WriteByte write byte
    func (stmt *Statement) WriteByte(c byte) error {
    	return stmt.SQL.WriteByte(c)
    }
    
    // WriteQuoted write quoted value
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top