Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for writeBytes (0.18 sec)

  1. utils/tests/dummy_dialecter.go

    		case '.':
    			if continuousBacktick > 0 || !selfQuoted {
    				shiftDelimiter = 0
    				underQuoted = false
    				continuousBacktick = 0
    				writer.WriteByte('`')
    			}
    			writer.WriteByte(v)
    			continue
    		default:
    			if shiftDelimiter-continuousBacktick <= 0 && !underQuoted {
    				writer.WriteByte('`')
    				underQuoted = true
    				if selfQuoted = continuousBacktick > 0; selfQuoted {
    					continuousBacktick -= 1
    				}
    			}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 06 06:03:31 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. 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})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  3. clause/clause.go

    			c.BeforeExpression.Build(builder)
    			builder.WriteByte(' ')
    		}
    
    		if c.Name != "" {
    			builder.WriteString(c.Name)
    			builder.WriteByte(' ')
    		}
    
    		if c.AfterNameExpression != nil {
    			c.AfterNameExpression.Build(builder)
    			builder.WriteByte(' ')
    		}
    
    		c.Expression.Build(builder)
    
    		if c.AfterExpression != nil {
    			builder.WriteByte(' ')
    			c.AfterExpression.Build(builder)
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Feb 02 09:15:08 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

            // Mapped inline to the sequence: [b2].
            sink.writeByte(ranges[rangesIndex + 2].code)
          }
          123 -> {
            // Mapped inline to the sequence: [b2a].
            sink.writeByte(ranges[rangesIndex + 2].code or 0x80)
          }
          124 -> {
            // Mapped inline to the sequence: [b2, b3].
            sink.writeByte(ranges[rangesIndex + 2].code)
            sink.writeByte(ranges[rangesIndex + 3].code)
          }
          125 -> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/SocksProxy.kt

              throw ProtocolException("unexpected address: " + toSocket.localAddress)
            }
    
            // Write the reply.
            fromSink.writeByte(VERSION_5)
            fromSink.writeByte(REPLY_SUCCEEDED)
            fromSink.writeByte(0)
            fromSink.writeByte(ADDRESS_TYPE_IPV4)
            fromSink.write(localAddress)
            fromSink.writeShort(toSocket.localPort)
            fromSink.emit()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. clause/expression.go

    			if inName {
    				if nv, ok := namedMap[string(name)]; ok {
    					builder.AddVar(builder, nv)
    				} else {
    					builder.WriteByte('@')
    					builder.WriteString(string(name))
    				}
    				inName = false
    			}
    
    			afterParenthesis = false
    			builder.WriteByte(v)
    		} else if v == '?' && len(expr.Vars) > idx {
    			if afterParenthesis {
    				if _, ok := expr.Vars[idx].(driver.Valuer); ok {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Oct 10 06:45:48 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  7. clause/joins.go

    			builder.WriteString(string(join.Type))
    			builder.WriteByte(' ')
    		}
    
    		builder.WriteString("JOIN ")
    		builder.WriteQuoted(join.Table)
    
    		if len(join.ON.Exprs) > 0 {
    			builder.WriteString(" ON ")
    			join.ON.Build(builder)
    		} else if len(join.Using) > 0 {
    			builder.WriteString(" USING (")
    			for idx, c := range join.Using {
    				if idx > 0 {
    					builder.WriteByte(',')
    				}
    				builder.WriteQuoted(c)
    			}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Nov 03 13:03:13 GMT 2022
    - 901 bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

          val byte0 = tagClass or constructedBit or tag.toInt()
          sink.writeByte(byte0)
        } else {
          val byte0 = tagClass or constructedBit or 0b0001_1111
          sink.writeByte(byte0)
          writeVariableLengthLong(tag)
        }
    
        // Write the length. This takes 1 byte if length is less than 128.
        val length = content.size
        if (length < 128) {
          sink.writeByte(length.toInt())
        } else {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. 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 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. clause/values.go

    	if len(values.Columns) > 0 {
    		builder.WriteByte('(')
    		for idx, column := range values.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    			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...)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sun May 24 03:35:19 GMT 2020
    - 849 bytes
    - Viewed (0)
Back to top