Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 139 for writeQString (0.13 sec)

  1. cmd/site-replication-utils_gen.go

    	err = z.Status.EncodeMsg(en)
    	if err != nil {
    		err = msgp.WrapError(err, "Status")
    		return
    	}
    	// write "did"
    	err = en.Append(0xa3, 0x64, 0x69, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.DeplID)
    	if err != nil {
    		err = msgp.WrapError(err, "DeplID")
    		return
    	}
    	// write "bkts"
    	err = en.Append(0xa4, 0x62, 0x6b, 0x74, 0x73)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 14 15:16:40 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  2. docs/sts/web-identity.go

    	flag.StringVar(&clientScopes, "cscopes", "openid", "Client Scopes")
    	flag.IntVar(&port, "port", 8080, "Port")
    }
    
    func implicitFlowURL(c oauth2.Config, state string) string {
    	var buf bytes.Buffer
    	buf.WriteString(c.Endpoint.AuthURL)
    	v := url.Values{
    		"response_type": {"id_token"},
    		"response_mode": {"form_post"},
    		"client_id":     {c.ClientID},
    	}
    	if c.RedirectURL != "" {
    		v.Set("redirect_uri", c.RedirectURL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. internal/grid/types.go

    	}
    	sort.Strings(keys)
    	for _, k := range keys {
    		v := m[k]
    		keyEscaped := url.QueryEscape(k)
    		if buf.Len() > 1 {
    			buf.WriteByte('&')
    		}
    		buf.WriteString(keyEscaped)
    		buf.WriteByte('=')
    		buf.WriteString(url.QueryEscape(v))
    	}
    	return buf.String()
    }
    
    // NewBytes returns a new Bytes.
    // A slice is preallocated.
    func NewBytes() *Bytes {
    	b := Bytes(GetByteBuffer()[:0])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. src/bufio/bufio.go

    			// Can only happen if buffer is silly small.
    			return b.WriteString(string(r))
    		}
    	}
    	size = utf8.EncodeRune(b.buf[b.n:], r)
    	b.n += size
    	return size, nil
    }
    
    // WriteString writes a string.
    // It returns the number of bytes written.
    // If the count is less than len(s), it also returns an error explaining
    // why the write is short.
    func (b *Writer) WriteString(s string) (int, error) {
    	var sw io.StringWriter
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            if ( this.isUseUnicode() ) {
                dst[ dstIndex++ ] = (byte) '\0';
            }
            dstIndex += writeString(this.path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  6. cmd/metacache-stream.go

    		if len(o.name) == 0 {
    			return errors.New("metacacheWriter: no name provided")
    		}
    		// Indicate EOS
    		err := w.mw.WriteBool(true)
    		if err != nil {
    			return err
    		}
    		err = w.mw.WriteString(o.name)
    		if err != nil {
    			return err
    		}
    		err = w.mw.WriteBytes(o.metadata)
    		if err != nil {
    			return err
    		}
    		if w.reuseBlocks || o.reusable {
    			metaDataPoolPut(o.metadata)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  7. cmd/signature-v4.go

    		headers = append(headers, k)
    		vals[k] = vv
    	}
    	sort.Strings(headers)
    
    	var buf bytes.Buffer
    	for _, k := range headers {
    		buf.WriteString(k)
    		buf.WriteByte(':')
    		for idx, v := range vals[k] {
    			if idx > 0 {
    				buf.WriteByte(',')
    			}
    			buf.WriteString(signV4TrimAll(v))
    		}
    		buf.WriteByte('\n')
    	}
    	return buf.String()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/lex_test.go

    	for {
    		tok := input.Next()
    		if tok == scanner.EOF {
    			return buf.String()
    		}
    		if tok == '#' {
    			continue
    		}
    		if buf.Len() > 0 {
    			buf.WriteByte('.')
    		}
    		buf.WriteString(input.Text())
    	}
    }
    
    type badLexTest struct {
    	input string
    	error string
    }
    
    var badLexTests = []badLexTest{
    	{
    		"3 #define foo bar\n",
    		"'#' must be first item on line",
    	},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

            dstIndex += 4;
            dst[dstIndex++] = securityFlags;
    
            return dstIndex - start;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            int n;
            n = writeString( path, dst, dstIndex );
            writeInt2( ( useUnicode ? path.length() * 2 : n ), dst, namelen_index );
            return n;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  10. cmd/tier-last-day-stats_gen.go

    func (z DailyAllTierStats) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteMapHeader(uint32(len(z)))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0007, zb0008 := range z {
    		err = en.WriteString(zb0007)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		// map header, size 2
    		// write "Bins"
    		err = en.Append(0x82, 0xa4, 0x42, 0x69, 0x6e, 0x73)
    		if err != nil {
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top