- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 52 for setLengths (0.06 seconds)
-
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
import java.lang.ref.WeakReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests of basic {@link LoadingCache} operations with all possible combinations of key & value * strengths. * * @author mike nonemacher */ @NullUnmarked public class CacheReferencesTest extends TestCase { private static final CacheLoader<Key, String> KEY_TO_STRING_LOADER = new CacheLoader<Key, String>() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/message/MessageFormatter.java
return ""; } final StringBuilder buffer = new StringBuilder(); for (final Object arg : args) { buffer.append(arg + ", "); } buffer.setLength(buffer.length() - ", ".length()); return new String(buffer); } /** * Initializes the class. */ protected static synchronized void initialize() { if (!initialized) {
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java
} /** * Set the buffer length. * * @param length the new length * @return the current builder */ MessageBuilder setLength(int length); /** * Return the built message. * * @return the message */ @Nonnull String build();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Nov 02 09:29:52 GMT 2024 - 7.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 5K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
return result; } // TODO(user): Move this logic to a utility class. @JsType(isNative = true, name = "Array", namespace = JsPackage.GLOBAL) private interface NativeArray { @JsProperty void setLength(int length); } static MapMaker tryWeakKeys(MapMaker mapMaker) { return mapMaker; } static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jun 10 15:17:16 GMT 2025 - 5.5K bytes - Click Count (0) -
apache-maven/src/assembly/maven/bin/JvmConfigParser.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
for (int k = 0; k < size; k++) { // [9-127) includes all ascii non-control characters sb.append((char) (random.nextInt(127 - 9) + 9)); } String string = sb.toString(); sb.setLength(0); data = ByteSource.wrap(string.getBytes(charset)); } @Benchmark public int timeCopy(int reps) throws IOException { int r = 0; Charset localCharset = charset;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
assertEquals(expectedLength, smbRandomAccessFile.length()); } @Test void testSetLength() throws SmbException { long newLength = 2048L; smbRandomAccessFile.setLength(newLength); // Verify length was set (actual behavior depends on implementation) } @Test void testSkipBytes() throws SmbException { int skipAmount = 100;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java
// repository. plugin = findPluginForPrefix(prefix, session); } int executionIdx = goal.indexOf("@"); if (executionIdx > 0) { goal.setLength(executionIdx); } injectPluginDeclarationFromProject(plugin, project); // If there is no version to be found then we need to look in the repository metadata forCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
public int getLength() { return deferred.length; } /** * Sets the length of data in the buffer. * * @param length the new data length */ public void setLength(final int length) { deferred.length = length; } /** * Advances the buffer index by the specified number of bytes. * * @param n the number of bytes to advance */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.4K bytes - Click Count (0)