Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 149 for writeString (0.11 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. internal/disk/stat_test.go

    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run("", func(t *testing.T) {
    			tmpfile, err := os.CreateTemp("", "testfile")
    			if err != nil {
    				t.Error(err)
    			}
    			tmpfile.WriteString(testCase.stat)
    			tmpfile.Sync()
    			tmpfile.Close()
    
    			iostats, err := readDriveStats(tmpfile.Name())
    			if err != nil && !testCase.expectErr {
    				t.Fatalf("unexpected err; %v", err)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. clause/group_by.go

    	for idx, column := range groupBy.Columns {
    		if idx > 0 {
    			builder.WriteByte(',')
    		}
    
    		builder.WriteQuoted(column)
    	}
    
    	if len(groupBy.Having) > 0 {
    		builder.WriteString(" HAVING ")
    		Where{Exprs: groupBy.Having}.Build(builder)
    	}
    }
    
    // MergeClause merge group by clause
    func (groupBy GroupBy) MergeClause(clause *Clause) {
    	if v, ok := clause.Expression.(GroupBy); ok {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 30 10:28:09 UTC 2021
    - 1K bytes
    - Viewed (0)
  5. clause/order_by.go

    	} else {
    		for idx, column := range orderBy.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    
    			builder.WriteQuoted(column.Column)
    			if column.Desc {
    				builder.WriteString(" DESC")
    			}
    		}
    	}
    }
    
    // MergeClause merge order by clauses
    func (orderBy OrderBy) MergeClause(clause *Clause) {
    	if v, ok := clause.Expression.(OrderBy); ok {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Nov 03 02:30:05 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  6. internal/dsync/lock-args_gen.go

    		return
    	}
    	for za0001 := range z.Resources {
    		err = en.WriteString(z.Resources[za0001])
    		if err != nil {
    			err = msgp.WrapError(err, "Resources", za0001)
    			return
    		}
    	}
    	// write "Owner"
    	err = en.Append(0xa5, 0x4f, 0x77, 0x6e, 0x65, 0x72)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Owner)
    	if err != nil {
    		err = msgp.WrapError(err, "Owner")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. cmd/metacache_gen.go

    	}
    	// write "b"
    	err = en.Append(0xa1, 0x62)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.bucket)
    	if err != nil {
    		err = msgp.WrapError(err, "bucket")
    		return
    	}
    	// write "flt"
    	err = en.Append(0xa3, 0x66, 0x6c, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.filter)
    	if err != nil {
    		err = msgp.WrapError(err, "filter")
    		return
    	}
    	// write "id"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  8. cmd/bucket-replication-utils_gen.go

    		return
    	}
    	for za0001, za0002 := range z.Entries {
    		err = en.WriteString(za0001)
    		if err != nil {
    			err = msgp.WrapError(err, "Entries")
    			return
    		}
    		// map header, size 3
    		// write "b"
    		err = en.Append(0x83, 0xa1, 0x62)
    		if err != nil {
    			return
    		}
    		err = en.WriteString(za0002.Bucket)
    		if err != nil {
    			err = msgp.WrapError(err, "Entries", za0001, "Bucket")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    		}
    		fmt.Fprintf(&sb, "_cgo%d", i)
    	}
    	sb.WriteString("); ")
    	if call.Deferred {
    		sb.WriteString("}")
    	}
    	sb.WriteString("}")
    	if call.Deferred {
    		sb.WriteString("()")
    	}
    	sb.WriteString("()")
    
    	return sb.String(), needsUnsafe
    }
    
    // needsPointerCheck reports whether the type t needs a pointer check.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top