- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 1,006 for Builder (0.1 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java
return builder() .session(nonNull(session, "session cannot be null")) .artifactCoordinates(nonNull(artifactCoordinates, "artifactCoordinates cannot be null")) .repositories(repositories) .build(); } @Nonnull static VersionResolverRequestBuilder builder() { return new VersionResolverRequestBuilder(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 4.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
// maxCharsPerByte is wrong) // Fallback to an incremental approach StringBuilder builder = new StringBuilder(bufIndex + 32); builder.append(buffer, 0, bufIndex); buffer = null; // release for gc CharStreams.copy(reader, builder); return builder.toString(); } } else { return TO_BYTE_ARRAY_NEW_STRING.read(byteSource, cs); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractEntity.java
this.indexOption = builder; return this; } public RequestOptionCall<IndexRequestBuilder> indexOption() { return indexOption; } public DocMeta deleteOption(RequestOptionCall<DeleteRequestBuilder> builder) { this.deleteOption = builder; return this; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
val httpUrl = HttpUrl.Builder() .scheme("http") .username("user") .host("host") .build() assertThat(httpUrl.toString()).isEqualTo("http://user@host/") assertThat(httpUrl.toUri().toString()).isEqualTo("http://user@host/") } @Test fun toUriUsernameSpecialCharacters() { val url = HttpUrl.Builder() .scheme("http")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java
SearchResultBuilder builder = SearchResult.create(); for (int i = start; i < start + size && i < allRecordCount; i++) { Map<String, Object> doc = new HashMap<>(); doc.put(ID_FIELD, Integer.toString(i)); doc.put("score", 1.0f / (i + 1)); builder.addDocument(doc); } builder.allRecordCount(allRecordCount);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 25.6K bytes - Viewed (0) -
guava/src/com/google/common/escape/CharEscaperBuilder.java
* it. The array will be from 0 to the maximum index given. All non-set indexes will contain null * (so it's not really a sparse array, just a pseudo sparse array). The builder can also return a * CharEscaper based on the generated array. * * @author Sven Mawson * @since 15.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class CharEscaperBuilder { /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java
return null; } }; final Normalizer normalizer = (text, field, lang) -> null; final Suggester suggester = Suggester.builder().settings(SuggestSettings.builder().setSettingsIndexName(settingsIndexName)) .readingConverter(converter).normalizer(normalizer).build(runner.client(), id); assertEquals(runner.client(), suggester.client);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
if (array.length == 0) { return ""; } // For pre-sizing a builder, just get the right order of magnitude StringBuilder builder = new StringBuilder(array.length * 7); builder.append(array[0]); for (int i = 1; i < array.length; i++) { builder.append(separator).append(array[i]); } return builder.toString(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 20.4K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
if (array.length == 0) { return ""; } // For pre-sizing a builder, just get the right order of magnitude StringBuilder builder = new StringBuilder(array.length * 7); builder.append(array[0]); for (int i = 1; i < array.length; i++) { builder.append(separator).append(array[i]); } return builder.toString(); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 20.4K bytes - Viewed (0) -
okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt
} private fun response( url: String, bodyHex: ByteString, fn: Response.Builder.() -> Unit = {}, ): Response { return Response.Builder() .body(bodyHex.toResponseBody("text/plain".toMediaType())) .code(200) .message("OK") .request(Request.Builder().url(url).build()) .protocol(Protocol.HTTP_2) .apply(fn) .build() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0)