- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for optimized (0.04 sec)
-
guava/src/com/google/common/io/CharStreams.java
// The most common case is that from is a Reader (like InputStreamReader or StringReader) so // take advantage of that. if (from instanceof Reader) { // optimize for common output types which are optimized to deal with char[] if (to instanceof StringBuilder) { return copyReaderToBuilder((Reader) from, (StringBuilder) to); } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 30 17:25:01 UTC 2025 - 10.9K bytes - Viewed (0) -
README.md
- **Switch Expressions** - Optimized implementations using switch expressions for better performance - **Sequenced Collections** - Full support for Java 21 sequenced collections API with dedicated utility methods - **Performance Focused** - Optimized implementations for better runtime performance with reduced memory allocation
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.NetbiosAddress; import jcifs.NetbiosName; import jcifs.ResolverType; /** * Test class for NameServiceClientImpl focusing on public API methods. * Optimized for fast execution with minimal network calls. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) @DisplayName("NameServiceClientImpl Tests") class NameServiceClientImplTest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
} } assertTrue(hasNonZero, "Signature should be present at correct offset"); } @Test @DisplayName("Should be thread-safe with optimized locking") void testSignThreadSafety() throws InterruptedException { int threadCount = 10; Thread[] threads = new Thread[threadCount];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java
assertThat(UnsignedLongs.remainder(0xfffffffffffffffeL, 2)).isEqualTo(0); assertThat(UnsignedLongs.remainder(0xfffffffffffffffeL, 5)).isEqualTo(4); } @GwtIncompatible // Too slow in GWT (~3min fully optimized) public void testDivideRemainderEuclideanProperty() { // Use a seed so that the test is deterministic: Random r = new Random(0L); for (int i = 0; i < 1000000; i++) { long dividend = r.nextLong();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
return readDirect(b, off, len); } /** * Reads up to len bytes of data from this input stream into an array of bytes. * Optimized for better performance with larger read sizes and reduced round trips. * * @param b the buffer to read into * @param off the offset in the buffer to start writing
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
For **TypeScript clients**, <a href="https://heyapi.dev/" class="external-link" target="_blank">Hey API</a> is a purpose-built solution, providing an optimized experience for the TypeScript ecosystem. You can discover more SDK generators on <a href="https://openapi.tools/#sdk" class="external-link" target="_blank">OpenAPI.Tools</a>. /// tip
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
@SuppressWarnings("unchecked") static final ImmutableMap<Object, Object> EMPTY = new RegularImmutableMap<>(null, new Object[0], 0); /* * This is an implementation of ImmutableMap optimized especially for Android, which does not like * objects per entry. Instead we use an open-addressed hash table. This design is basically * equivalent to RegularImmutableSet, save that instead of having a hash table containing the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
* #copyTo(CharSink)}. We know this is correct since strings are immutable and so the length * can't change, and it is faster because many writers and appendables are optimized for * appending string instances. * </ul> */ private static class StringCharSource extends CharSequenceCharSource { StringCharSource(String seq) { super(seq); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
* #copyTo(CharSink)}. We know this is correct since strings are immutable and so the length * can't change, and it is faster because many writers and appendables are optimized for * appending string instances. * </ul> */ private static class StringCharSource extends CharSequenceCharSource { StringCharSource(String seq) { super(seq); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 25.3K bytes - Viewed (0)