Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 435 for leading (0.15 sec)

  1. internal/config/cache/remote.go

    }
    
    // IsSet tells the cache lookup to avoid sending a request
    func (r *CondCheck) IsSet() bool {
    	if r == nil {
    		return false
    	}
    	return r.IfMatch != "" || r.IfNoneMatch != "" || r.IfModifiedSince != nil || r.IfUnModifiedSince != nil || r.IfRange != ""
    }
    
    var etagRegex = regexp.MustCompile("\"*?([^\"]*?)\"*?$")
    
    // canonicalizeETag returns ETag with leading and trailing double-quotes removed,
    // if any present
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 21:46:17 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. architecture/standards/0002-avoid-using-java-serialization.md

    Java serialization is inherently Java-centric and does not support cross-language scenarios well.
    
    - **Type Safety:**
    Java serialization does not enforce type safety as strictly as some alternatives, potentially leading to runtime errors.
    
    ## Decision
    
    We do not use Java serialization.
    Instead, we use custom serialization where we explicitly describe how data objects should be serialized and deserialized.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Feb 29 22:32:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

      }
    
      @Throws(IOException::class)
      private fun completeEvent(
        id: String?,
        type: String?,
        data: Buffer,
      ) {
        if (data.size != 0L) {
          lastId = id
          data.skip(1L) // Leading newline.
          callback.onEvent(id, type, data.readUtf8())
        }
      }
    
      companion object {
        val options =
          Options.of(
            // 0
            "\r\n".encodeUtf8(),
            // 1
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. internal/config/certs.go

    func ParsePublicCertFile(certFile string) (x509Certs []*x509.Certificate, err error) {
    	// Read certificate file.
    	var data []byte
    	if data, err = os.ReadFile(certFile); err != nil {
    		return nil, err
    	}
    
    	// Trimming leading and tailing white spaces.
    	data = bytes.TrimSpace(data)
    
    	// Parse all certs in the chain.
    	current := data
    	for len(current) > 0 {
    		var pemBlock *pem.Block
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. internal/s3select/sql/parser_test.go

    		"substring('abcd' from 2)",
    		"substring('abcd' , 2 , 2)",
    
    		"substring('abcd' , 22 )",
    		"trim('  aab  ')",
    		"trim(leading from '  aab  ')",
    		"trim(trailing from '  aab  ')",
    		"trim(both from '  aab  ')",
    
    		"trim(both '12' from '  aab  ')",
    		"trim(leading '12' from '  aab  ')",
    		"trim(trailing '12' from '  aab  ')",
    		"count(23)",
    	}
    	for i, tc := range validCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/mips.s

    	//	{
    	//		outcode(int($1), &$2, 0, &nullgen);
    	//	}
    	NOP	F2
    
    	//	LNOP ',' rreg // asm doesn't support the leading comma.
    	//	{
    	//		outcode(int($1), &nullgen, 0, &$3);
    	//	}
    	NOP	R2
    
    	//	LNOP ',' freg // asm doesn't support the leading comma.
    	//	{
    	//		outcode(int($1), &nullgen, 0, &$3);
    	//	}
    	NOP	F2
    
    	//	LNOP imm
    	//	{
    	//		outcode(int($1), &$2, 0, &nullgen);
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  7. internal/s3select/sql/parser.go

    }
    
    // UnaryTerm represents a single negated term or a primary term
    type UnaryTerm struct {
    	Negated *NegatedTerm `parser:"  @@"`
    	Primary *PrimaryTerm `parser:"| @@"`
    }
    
    // NegatedTerm has a leading minus sign.
    type NegatedTerm struct {
    	Term *PrimaryTerm `parser:"\"-\" @@"`
    }
    
    // PrimaryTerm represents a Value, Path expression, a Sub-expression
    // or a function call.
    type PrimaryTerm struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http/StatusLineTest.kt

        assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_1)
        assertThat(statusLine.code).isEqualTo(code)
      }
    
      /**
       * This is not defined in the protocol but some servers won't add the leading empty space when the
       * message is empty. http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.1
       */
      @Test
      fun emptyMessageAndNoLeadingSpace() {
        val version = 1
        val code = 503
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. cmd/object-api-utils_test.go

    		{"!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~", true},
    		{"␀␁␂␃␄␅␆␇␈␉␊␋␌␍␎␏␐␑␒␓␔␕␖␗␘␙␚␛␜␝␞␟␡", true},
    		{"trailing VT␋/trailing VT␋", true},
    		{"␋leading VT/␋leading VT", true},
    		{"~leading tilde", true},
    		{"\rleading CR", true},
    		{"\nleading LF", true},
    		{"\tleading HT", true},
    		{"trailing CR\r", true},
    		{"trailing LF\n", true},
    		{"trailing HT\t", true},
    		// cases for which test should fail.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

     *
     * This is because the ModelProcessor interface extends ModelLocator and ModelReader. If we
     * made this component available under all its interfaces then it could end up being injected
     * into itself leading to a stack overflow.
     *
     * A side effect of using @Typed is that it translates to explicit bindings in the container.
     * So instead of binding the component under a 'wildcard' key it is now bound with an explicit
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top