Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 139 for writeQString (0.11 sec)

  1. cmd/xl-storage-format-v2_gen.go

    		if err != nil {
    			err = msgp.WrapError(err, "MetaUser")
    			return
    		}
    		for za0011, za0012 := range z.MetaUser {
    			err = en.WriteString(za0011)
    			if err != nil {
    				err = msgp.WrapError(err, "MetaUser")
    				return
    			}
    			err = en.WriteString(za0012)
    			if err != nil {
    				err = msgp.WrapError(err, "MetaUser", za0011)
    				return
    			}
    		}
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  2. cmd/storage-rest-common_gen.go

    func (z *nsScannerOptions) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 3
    	// write "id"
    	err = en.Append(0x83, 0xa2, 0x69, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.DiskID)
    	if err != nil {
    		err = msgp.WrapError(err, "DiskID")
    		return
    	}
    	// write "m"
    	err = en.Append(0xa1, 0x6d)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.ScanMode)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. internal/ringbuffer/ring_buffer_test.go

    			if err != nil {
    				t.Fatalf("write failed: %v", err)
    			}
    			wroteBytes += n
    			wrote.Write(buf[:n])
    			debugln("WRITE 1\t", n, wroteBytes)
    
    			// WriteString
    			n, err = rb.WriteString(string(buf[:writeRng.Intn(len(buf))]))
    			if err != nil {
    				t.Fatalf("write failed: %v", err)
    			}
    			wroteBytes += n
    			wrote.Write(buf[:n])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. api/go1.12.txt

    pkg go/doc, const PreserveAST Mode
    pkg go/importer, func ForCompiler(*token.FileSet, string, Lookup) types.Importer
    pkg go/token, method (*File) LineStart(int) Pos
    pkg io, type StringWriter interface { WriteString }
    pkg io, type StringWriter interface, WriteString(string) (int, error)
    pkg log, method (*Logger) Writer() io.Writer
    pkg math/bits, func Add(uint, uint, uint) (uint, uint)
    pkg math/bits, func Add32(uint32, uint32, uint32) (uint32, uint32)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

        @JvmStatic
        @JvmName("create")
        fun String.toResponseBody(contentType: MediaType? = null): ResponseBody {
          val (charset, finalContentType) = contentType.chooseCharset()
          val buffer = Buffer().writeString(this, charset)
          return buffer.asResponseBody(finalContentType, buffer.size)
        }
    
        /** Returns a new response body that transmits this byte array. */
        @JvmStatic
        @JvmName("create")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. internal/s3select/sql/value.go

    	case []byte:
    		return fmt.Sprintf("\"%s\":BYTES", string(x))
    	case []Value:
    		var s strings.Builder
    		s.WriteByte('[')
    		for i, v := range x {
    			s.WriteString(v.Repr())
    			if i < len(x)-1 {
    				s.WriteByte(',')
    			}
    		}
    		s.WriteString("]:ARRAY")
    		return s.String()
    	case Missing:
    		return ":MISSING"
    	default:
    		return fmt.Sprintf("%v:INVALID", v.value)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/endtoend_test.go

    	parser.errorWriter = &errBuf
    	ctxt.DiagFunc = func(format string, args ...interface{}) {
    		failed = true
    		s := fmt.Sprintf(format, args...)
    		if !strings.HasSuffix(s, "\n") {
    			s += "\n"
    		}
    		errBuf.WriteString(s)
    	}
    	for _, flag := range flags {
    		switch flag {
    		case "dynlink":
    			ctxt.Flag_dynlink = true
    		default:
    			t.Errorf("unknown flag %s", flag)
    		}
    	}
    	pList.Firstpc, ok = parser.Parse()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    	// Get canonical headers.
    	var buf bytes.Buffer
    	for _, k := range headers {
    		buf.WriteString(k)
    		buf.WriteByte(':')
    		switch {
    		case k == "host":
    			buf.WriteString(req.URL.Host)
    			fallthrough
    		default:
    			for idx, v := range headerMap[k] {
    				if idx > 0 {
    					buf.WriteByte(',')
    				}
    				buf.WriteString(v)
    			}
    			buf.WriteByte('\n')
    		}
    	}
    	canonicalHeaders := buf.String()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  9. cmd/update_test.go

    	createTempFile := func(content string) string {
    		tmpfile, err := os.CreateTemp("", "helm-testfile-")
    		if err != nil {
    			t.Fatalf("Unable to create temporary file. %s", err)
    		}
    		if _, err = tmpfile.WriteString(content); err != nil {
    			t.Fatalf("Unable to create temporary file. %s", err)
    		}
    		if err = tmpfile.Close(); err != nil {
    			t.Fatalf("Unable to create temporary file. %s", err)
    		}
    		return tmpfile.Name()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    	// save args passed to inspect command
    	var sb bytes.Buffer
    	fmt.Fprintf(&sb, "Inspect path: %s%s%s\n", volume, slashSeparator, file)
    	sb.WriteString("Server command line args:")
    	for _, pool := range globalEndpoints {
    		sb.WriteString(" ")
    		sb.WriteString(pool.CmdLine)
    	}
    	sb.WriteString("\n")
    	adminLogIf(ctx, embedFileInZip(inspectZipW, "inspect-input.txt", sb.Bytes(), 0o600))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top