Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for delimiters (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 May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/UrlEscapers.java

       *   <li>The alphanumeric characters "a" through "z", "A" through "Z" and "0" through "9" remain
       *       the same.
       *   <li>The unreserved characters ".", "-", "~", and "_" remain the same.
       *   <li>The general delimiters "@" and ":" remain the same.
       *   <li>The subdelimiters "!", "$", "&amp;", "'", "(", ")", "*", "+", ",", ";", and "=" remain
       *       the same.
       *   <li>The space character " " is converted into %20.
    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)
  3. internal/s3select/csv/recordtransform.go

    		n++
    	} else {
    		n, err = rr.reader.Read(p)
    	}
    
    	if err != nil {
    		return n, err
    	}
    
    	// Do nothing if record-delimiter is already newline.
    	if string(rr.recordDelimiter) == "\n" {
    		return n, nil
    	}
    
    	// Change record delimiters to newline.
    	if len(rr.recordDelimiter) == 1 {
    		for idx := 0; idx < len(p); {
    			i := bytes.Index(p[idx:], rr.recordDelimiter)
    			if i < 0 {
    				break
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        // Skip comment and empty lines.
        when (select(optionsDelimiter)) {
          DELIMITER_HASH -> {
            skipRestOfLine()
            continue
          }
    
          DELIMITER_NEWLINE -> {
            continue
          }
    
          DELIMITER_DOT, DELIMITER_SPACE, DELIMITER_SEMICOLON -> {
            throw IOException("unexpected delimiter")
          }
        }
    
        // "002F" or "0000..002C"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. cmd/api-resources_test.go

    		}
    		if startAfter != testCase.startAfter {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.startAfter, startAfter)
    		}
    		if delimiter != testCase.delimiter {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.delimiter, delimiter)
    		}
    		if fetchOwner != testCase.fetchOwner {
    			t.Errorf("Test %d: Expected %t, got %t", i+1, testCase.fetchOwner, fetchOwner)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

    /**
     * Benchmarks {@link Joiner} against some common implementations of delimiter-based string joining.
     *
     * @author Adomas Paltanavicius
     */
    public class JoinerBenchmark {
    
      private static final String DELIMITER_STRING = ",";
      private static final char DELIMITER_CHARACTER = ',';
    
      private static final Joiner JOINER_ON_STRING = Joiner.on(DELIMITER_STRING);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

    /**
     * Benchmarks {@link Joiner} against some common implementations of delimiter-based string joining.
     *
     * @author Adomas Paltanavicius
     */
    public class JoinerBenchmark {
    
      private static final String DELIMITER_STRING = ",";
      private static final char DELIMITER_CHARACTER = ',';
    
      private static final Joiner JOINER_ON_STRING = Joiner.on(DELIMITER_STRING);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  8. cmd/api-resources.go

    			return
    		}
    	} else {
    		maxkeys = maxObjectList
    	}
    
    	prefix = values.Get("prefix")
    	marker = values.Get("marker")
    	delimiter = values.Get("delimiter")
    	encodingType = values.Get("encoding-type")
    	return
    }
    
    func getListBucketObjectVersionsArgs(values url.Values) (prefix, marker, delimiter string, maxkeys int, encodingType, versionIDMarker string, errCode APIErrorCode) {
    	errCode = ErrNone
    
    	if values.Get("max-keys") != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 07 18:25:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/util/StringUtil.java

         * 
         * @param delimiter
         * @param elements
         * @return elements separated by delimiter
         */
        public static String join ( CharSequence delimiter, CharSequence... elements ) {
            StringBuilder sb = new StringBuilder();
            for ( CharSequence element : elements ) {
                if ( sb.length() > 0 ) {
                    if ( delimiter != null ) {
                        sb.append(delimiter);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

        doParallelCacheOp(
            count,
            n -> {
              cache.asMap().computeIfPresent(key, (k, v) -> v + delimiter + n);
            });
        assertEquals(1, cache.size());
        assertThat(cache.getIfPresent(key).split(delimiter)).hasLength(count + 1);
      }
    
      public void testComputeIfPresentRemove() {
        List<RemovalNotification<Integer, Integer>> notifications = new ArrayList<>();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.3K bytes
    - Viewed (0)
Back to top