Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 328 for writeByte (0.16 sec)

  1. src/go/types/exprstring.go

    	case *ast.FuncLit:
    		buf.WriteByte('(')
    		WriteExpr(buf, x.Type)
    		buf.WriteString(" literal)") // shortened
    
    	case *ast.CompositeLit:
    		WriteExpr(buf, x.Type)
    		buf.WriteByte('{')
    		if len(x.Elts) > 0 {
    			buf.WriteString("…")
    		}
    		buf.WriteByte('}')
    
    	case *ast.ParenExpr:
    		buf.WriteByte('(')
    		WriteExpr(buf, x.X)
    		buf.WriteByte(')')
    
    	case *ast.SelectorExpr:
    		WriteExpr(buf, x.X)
    Registered: 2024-06-12 16:32
    - Last Modified: 2024-02-08 19:31
    - 4.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        val headerBytes = literalHeaders(sentHeaders)
        writeMedium(frame, (headerBytes.size + 5).toInt())
        frame.writeByte(Http2.TYPE_HEADERS)
        frame.writeByte(FLAG_END_HEADERS or FLAG_PRIORITY)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeInt(0) // Independent stream.
        frame.writeByte(255) // Heaviest weight, zero-indexed.
        frame.writeAll(headerBytes)
        reader.nextFrame(
          requireSettings = false,
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-01-08 01:13
    - 28.1K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        val buffer =
          Buffer()
            .writeByte(0b00000010)
            .writeByte(0b10001001)
            .writeByte(0b11111111)
            .writeByte(0b11111111)
            .writeByte(0b11111111)
            .writeByte(0b11111111)
            .writeByte(0b11111111)
            .writeByte(0b11111111)
            .writeByte(0b11111111)
            .writeByte(0b11111111)
            .writeByte(0b11111111)
            .writeByte(0b11111111)
    
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-01-08 01:13
    - 31.7K bytes
    - Viewed (0)
  4. clause/where.go

    						builder.WriteByte('(')
    					}
    				}
    
    				c.Build(builder)
    
    				if wrapInParentheses {
    					builder.WriteByte(')')
    				}
    			}
    		}
    
    		if len(not.Exprs) > 1 {
    			builder.WriteByte(')')
    		}
    	} else {
    		builder.WriteString("NOT ")
    		if len(not.Exprs) > 1 {
    			builder.WriteByte('(')
    		}
    
    		for idx, c := range not.Exprs {
    Registered: 2024-06-12 16:27
    - Last Modified: 2024-04-25 12:22
    - 5.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/ianlancetaylor/demangle/rust.go

    	case 'M', 'X':
    		rst.advance(1)
    		rst.implPath()
    		rst.writeByte('<')
    		rst.demangleType()
    		if c == 'X' {
    			rst.writeString(" as ")
    			rst.path(false)
    		}
    		rst.writeByte('>')
    	case 'Y':
    		rst.advance(1)
    		rst.writeByte('<')
    		rst.demangleType()
    		rst.writeString(" as ")
    		rst.path(false)
    		rst.writeByte('>')
    	case 'N':
    		rst.advance(1)
    
    		if len(rst.str) < 1 {
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-08-15 16:39
    - 23.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/fmt.go

    			tconv2(b, m.Key(), 0, mode, visited)
    			b.WriteByte(']')
    			tconv2(b, m.Elem(), 0, mode, visited)
    			break
    		}
    
    		b.WriteString("struct {")
    		for i, f := range t.Fields() {
    			if i != 0 {
    				b.WriteByte(';')
    			}
    			b.WriteByte(' ')
    			fldconv(b, f, 'L', mode, visited, false)
    		}
    		if t.NumFields() != 0 {
    			b.WriteByte(' ')
    		}
    		b.WriteByte('}')
    
    	case TFORW:
    Registered: 2024-06-12 16:32
    - Last Modified: 2023-09-12 15:41
    - 15.7K bytes
    - Viewed (0)
  7. internal/kms/context.go

    	for k := range c {
    		sortedKeys = append(sortedKeys, k)
    	}
    	sort.Strings(sortedKeys)
    
    	b.WriteByte('{')
    	for i, k := range sortedKeys {
    		b.WriteByte('"')
    		escapeStringJSON(b, k)
    		b.WriteString(`":"`)
    		escapeStringJSON(b, c[k])
    		b.WriteByte('"')
    		if i < len(sortedKeys)-1 {
    			b.WriteByte(',')
    		}
    	}
    	b.WriteByte('}')
    	return b.Bytes(), nil
    }
    
    // Adapted from Go stdlib.
    
    Registered: 2024-06-16 00:44
    - Last Modified: 2022-01-02 17:15
    - 6K bytes
    - Viewed (0)
  8. internal/s3select/genmessage.go

    	buf := new(bytes.Buffer)
    
    	buf.WriteByte(13)
    	buf.WriteString(":message-type")
    	buf.WriteByte(7)
    	buf.Write([]byte{0, 5})
    	buf.WriteString("event")
    
    	buf.WriteByte(13)
    	buf.WriteString(":content-type")
    	buf.WriteByte(7)
    	buf.Write([]byte{0, 24})
    	buf.WriteString("application/octet-stream")
    
    	buf.WriteByte(11)
    	buf.WriteString(":event-type")
    	buf.WriteByte(7)
    	buf.Write([]byte{0, 7})
    Registered: 2024-06-16 00:44
    - Last Modified: 2021-08-19 01:35
    - 4.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        val expected =
          Buffer()
            .writeByte(0x40) // Literal header, new name.
            .writeByte(0x82) // String literal is Huffman encoded (len = 2).
            .writeByte(0x94) // 'foo' Huffman encoded.
            .writeByte(0xE7)
            .writeByte(3) // String literal not Huffman encoded (len = 3).
            .writeByte('b'.code)
            .writeByte('a'.code)
            .writeByte('r'.code)
            .readByteString()
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-01-08 01:13
    - 38.2K bytes
    - Viewed (0)
  10. clause/on_conflict.go

    	if onConflict.OnConstraint != "" {
    		builder.WriteString("ON CONSTRAINT ")
    		builder.WriteString(onConflict.OnConstraint)
    		builder.WriteByte(' ')
    	} else {
    		if len(onConflict.Columns) > 0 {
    			builder.WriteByte('(')
    			for idx, column := range onConflict.Columns {
    				if idx > 0 {
    					builder.WriteByte(',')
    				}
    				builder.WriteQuoted(column)
    			}
    			builder.WriteString(`) `)
    		}
    
    Registered: 2024-06-12 16:27
    - Last Modified: 2022-10-07 05:46
    - 1.3K bytes
    - Viewed (0)
Back to top