Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Delimiter (0.06 sec)

  1. src/test/java/jcifs/internal/util/StringUtilTest.java

            assertEquals("日本語,中文,한국어", result);
        }
    
        @ParameterizedTest
        @DisplayName("Should handle various delimiter types")
        @MethodSource("provideDelimiters")
        void testJoinWithVariousDelimiters(String delimiter, String expected) {
            String result = StringUtil.join(delimiter, "A", "B", "C");
            assertEquals(expected, result);
        }
    
        private static Stream<Arguments> provideDelimiters() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/util/StringUtil.java

        }
    
        /**
         * Implementation of {@link java.lang.String#join} backported for JDK7.
         *
         * @param delimiter the separator to use between elements
         * @param elements the elements to join
         * @return elements separated by delimiter
         */
        public static String join(final CharSequence delimiter, final CharSequence... elements) {
            final StringBuilder sb = new StringBuilder();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. 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") != "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 07 18:25:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

        components = Arrays.asList(raw);
      }
    
      /** {@link Joiner} with a string delimiter. */
      @Benchmark
      int joinerWithStringDelimiter(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy ^= JOINER_ON_STRING.join(components).length();
        }
        return dummy;
      }
    
      /** {@link Joiner} with a character delimiter. */
      @Benchmark
      int joinerWithCharacterDelimiter(int reps) {
        int dummy = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 5K 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)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  6. 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<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

            continue
          }
    
          DELIMITER_NEWLINE -> {
            continue
          }
    
          DELIMITER_DOT, DELIMITER_SPACE, DELIMITER_SEMICOLON -> {
            throw IOException("unexpected delimiter")
          }
        }
    
        // "002F" or "0000..002C"
        val sourceCodePoint0 = readHexadecimalUnsignedLong()
        val sourceCodePoint1 =
          when (select(optionsDot)) {
            DELIMITER_DOT -> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

        @get:JvmName("boundary") val boundary: String,
      ) : Closeable {
        /** This delimiter typically precedes the first part. */
        private val dashDashBoundary =
          Buffer()
            .writeUtf8("--")
            .writeUtf8(boundary)
            .readByteString()
    
        /**
         * This delimiter typically precedes all subsequent parts. It may also precede the first part
         * if the body contains a preamble.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. dbflute_fess/dfprop/documentMap.dfprop

        #  If the alias exists in its DB comment like as follows:
        #    member name : The name of member's full name
        #  you can use the alias in DBFlute world, java-doc, SchemaHTML...
        #  DB comment which does not have the delimiter is not treated
        #  as alias, treated as description (real comment).
        #  But you can change it by 'isDbCommentOnAliasBasis'.
        #
        #; aliasDelimiterInDbComment = :
        # - - - - - - - - - -/
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 9.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

        var b = 0
        for (codePoint in input) {
          if (codePoint < INITIAL_N) {
            result.writeByte(codePoint)
            b++
          }
        }
    
        // Copy a delimiter if any basic code points were emitted.
        if (b > 0) result.writeByte('-'.code)
    
        var n = INITIAL_N
        var delta = 0
        var bias = INITIAL_BIAS
        var h = b
        while (h < input.size) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top