Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 99 for delimiter (0.21 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

      }
    }
    
    /**
     * Consumes and returns a non-empty token, terminating at special characters in
     * [TOKEN_DELIMITERS]. Returns null if the buffer is empty or prefixed with a delimiter.
     */
    private fun Buffer.readToken(): String? {
      var tokenSize = indexOfElement(TOKEN_DELIMITERS)
      if (tokenSize == -1L) tokenSize = size
    
      return when {
        tokenSize != 0L -> readUtf8(tokenSize)
        else -> null
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. cmd/object-api-input-checks.go

    			Bucket: bucket,
    			Object: prefix,
    		}
    	}
    	return nil
    }
    
    // Checks for all ListMultipartUploads arguments validity.
    func checkListMultipartArgs(ctx context.Context, bucket, prefix, keyMarker, uploadIDMarker, delimiter string) error {
    	if err := checkListObjsArgs(ctx, bucket, prefix, keyMarker); err != nil {
    		return err
    	}
    	if uploadIDMarker != "" {
    		if HasSuffix(keyMarker, SlashSeparator) {
    			return InvalidUploadIDKeyCombination{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

        assertThat(part.headers).isEqualTo(headersOf())
        assertThat(part.body.readUtf8()).isEqualTo("abcd")
    
        assertThat(parts.nextPart()).isNull()
      }
    
      @Test fun `skip whitespace after close delimiter`() {
        val multipart =
          """
          |--simple boundary
          |
          |abcd
          |--simple boundary--
          """.trimMargin()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  4. internal/config/config_test.go

    			expectedFields: map[string]struct{}{
    				`connection_string="host=localhost port=2832"`: {},
    				`comment="really long comment"`:                {},
    			},
    		},
    		// Incorrect delimiter, expected fields should be empty.
    		{
    			input:          `comment:"really long comment" connection_string:"host=localhost port=2832"`,
    			keys:           []string{"connection_string", "comment"},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 18 22:55:17 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  5. docs/en/docs/js/custom.js

                            const promptStart = line.indexOf(promptLiteralStart);
                            if (promptStart === -1) {
                                console.error("Custom prompt found but no end delimiter", line)
                            }
                            const prompt = line.slice(0, promptStart).replace(customPromptLiteralStart, "")
                            let value = line.slice(promptStart + promptLiteralStart.length);
    JavaScript
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 08 17:50:56 GMT 2021
    - 6.6K bytes
    - Viewed (0)
  6. docs/iam/access-management-plugin.md

          ],
          "CurrentTime": [
            "2022-05-07T18:31:41Z"
          ],
          "Delimiter": [
            "/"
          ],
          "EpochTime": [
            "1651948301"
          ],
          "Prefix": [
            ""
          ],
          "Referer": [
            ""
          ],
          "SecureTransport": [
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Dec 13 22:28:48 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  7. cmd/httprange.go

    	}
    
    	// Trim byte range prefix.
    	byteRangeString := strings.TrimPrefix(rangeString, byteRangePrefix)
    
    	// Check if range string contains delimiter '-', else return error. eg. "bytes=8"
    	sepIndex := strings.Index(byteRangeString, "-")
    	if sepIndex == -1 {
    		return nil, fmt.Errorf("'%s' does not have a valid range value", rangeString)
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jul 24 14:56:28 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/UrlEscapers.java

       * </ul>
       *
       * <p>This escaper is suitable for escaping parameter names and values even when <a
       * href="https://goo.gl/utn6M">using the non-standard semicolon</a>, rather than the ampersand, as
       * a parameter delimiter. Nevertheless, we recommend using the ampersand unless you must
       * interoperate with systems that require semicolons.
       *
       * <p><b>Note:</b> Unlike other escapers, URL escapers produce <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:04:33 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  9. cmd/warm-backend-gcs.go

    	return gcsToObjectError(err, gcs.Bucket, key)
    }
    
    func (gcs *warmBackendGCS) InUse(ctx context.Context) (bool, error) {
    	it := gcs.client.Bucket(gcs.Bucket).Objects(ctx, &storage.Query{
    		Delimiter: "/",
    		Prefix:    gcs.Prefix,
    		Versions:  false,
    	})
    	pager := iterator.NewPager(it, 1, "")
    	gcsObjects := make([]*storage.ObjectAttrs, 0)
    	_, err := pager.NextPage(&gcsObjects)
    	if err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. cmd/object-api-datatypes_gen.go

    		case "Prefix":
    			z.Prefix, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Prefix")
    				return
    			}
    		case "Delimiter":
    			z.Delimiter, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Delimiter")
    				return
    			}
    		case "CommonPrefixes":
    			var zb0003 uint32
    			zb0003, bts, err = msgp.ReadArrayHeaderBytes(bts)
    			if err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
Back to top