- Sort Score
- Num 10 results
- Language All
Results 1771 - 1780 of 7,017 for string (0.04 seconds)
-
android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
/** * Microbenchmark for {@link Splitter#on} with char vs String with length == 1. * * @author Paul Lindner */ @NullUnmarked public class SplitterBenchmark { // overall size of string @Param({"1", "10", "100", "1000"}) int length; // Number of matching strings @Param({"xxxx", "xxXx", "xXxX", "XXXX"}) String text; private String input;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 1.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
public void testToString() { assertThat(md5().toString()).isEqualTo("Hashing.md5()"); assertThat(sha1().toString()).isEqualTo("Hashing.sha1()"); assertThat(sha256().toString()).isEqualTo("Hashing.sha256()"); assertThat(sha512().toString()).isEqualTo("Hashing.sha512()"); } private static void assertMessageDigestHashing(byte[] input, String algorithmName) throws NoSuchAlgorithmException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 4.9K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
* * @param sessionId The session ID. * @param url The URL. * @return The generated unique ID. */ private String getId(final String sessionId, final String url) { final String id = sessionId + ID_SEPARATOR + new String(Base64.getUrlEncoder().withoutPadding().encode(url.getBytes(UTF_8)), UTF_8); if (id.length() <= idPrefixLength) { return id; }Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 20 08:40:57 GMT 2025 - 34.3K bytes - Click Count (0) -
internal/crypto/sse-kms.go
spaces := strings.HasPrefix(keyID, " ") || strings.HasSuffix(keyID, " ") if spaces { return "", nil, ErrInvalidEncryptionKeyID } return strings.TrimPrefix(keyID, ARNPrefix), ctx, nil } // IsEncrypted returns true if the object metadata indicates // that the object was uploaded using SSE-KMS. func (ssekms) IsEncrypted(metadata map[string]string) bool { if _, ok := metadata[MetaSealedKeyKMS]; ok {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 07 23:55:37 GMT 2024 - 8.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
assertNotNull(negativeProvider); } // Test getTimeAdjustTimeMillis string values @Test public void test_getTimeAdjustTimeMillis_stringValues() { // Test various string formats String[] testValues = { "0", "1000", "-1000", "999999999", "-999999999", "1", "-1" }; for (String value : testValues) { FessConfig testConfig = new FessConfig.SimpleImpl() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
* * @param s * The string encoded in <code>application/x-www-form-urlencoded</code> format. * Must not be {@literal null} or empty. * @param enc * The encoding scheme. Must not be {@literal null} or empty. * @return The decoded string. */ public static String decode(final String s, final String enc) { assertArgumentNotEmpty("s", s);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java
* @param value the value associated with the item * @return a map containing the label and value */ protected Map<String, String> createItem(final String label, final String value) { final Map<String, String> map = new HashMap<>(2); map.put(Constants.ITEM_LABEL, label); map.put(Constants.ITEM_VALUE, value); return map; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 19.7K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
for (int i = 0; i < reps; i++) { dummy += Ascii.toUpperCase(string).length(); } return dummy; } @Benchmark int asciiCharSequenceToUpperCase(int reps) { String string = noWorkToDo ? charSequenceToUpperCase(testString) : testString; int dummy = 0; for (int i = 0; i < reps; i++) { dummy += charSequenceToUpperCase(string).length(); } return dummy; } @Benchmark
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.8K bytes - Click Count (0) -
cmd/server-startup-msg.go
func stripStandardPorts(apiEndpoints []string, host string) (newAPIEndpoints []string) { if len(apiEndpoints) == 1 { return apiEndpoints } newAPIEndpoints = make([]string, len(apiEndpoints)) // Check all API endpoints for standard ports and strip them. for i, apiEndpoint := range apiEndpoints { _, err := xnet.ParseHTTPURL(apiEndpoint) if err != nil { continue } u, err := url.Parse(apiEndpoint) if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 6.2K bytes - Click Count (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLkotlin/text/StringsKt__StringsJVMKt;->regionMatches(Ljava/lang/String;ILjava/lang/String;IIZ)Z HSPLkotlin/text/StringsKt__StringsJVMKt;->replace$default(Ljava/lang/String;CCZI)Ljava/lang/String; HSPLkotlin/text/StringsKt__StringsJVMKt;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZI)Z HSPLkotlin/text/StringsKt__StringsJVMKt;->startsWith(Ljava/lang/String;Ljava/lang/String;IZ)Z
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Dec 30 23:28:56 GMT 2024 - 127.9K bytes - Click Count (1)