- Sort Score
- Num 10 results
- Language All
Results 4651 - 4660 of 7,132 for String (0.13 seconds)
-
guava/src/com/google/common/base/Utf8.java
* @author Clément Roux * @since 16.0 */ @GwtCompatible public final class Utf8 { /** * Returns the number of bytes in the UTF-8-encoded form of {@code sequence}. For a string, this * method is equivalent to {@code string.getBytes(UTF_8).length}, but is more efficient in both * time and space. * * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired * surrogates)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
} public void testString() { Random random = new Random(); for (int i = 0; i < 100; i++) { byte[] bytes = new byte[64]; random.nextBytes(bytes); String s = new String(bytes, UTF_16LE); // so all random strings are valid assertEquals( new TestHasher().putUnencodedChars(s).hash(), new TestHasher().putBytes(s.getBytes(UTF_16LE)).hash()); assertEquals(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/naming/InitialContextUtil.java
* The name of the object to look up. Must not be {@literal null} or an empty string. * @return The object bound to <code>jndiName</code>. * @throws NamingRuntimeException * Thrown if the initial context cannot be created. */ public static Object lookup(final InitialContext ctx, final String jndiName) throws NamingRuntimeException { assertArgumentNotNull("ctx", ctx);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java
public RdmaConnection createConnection(InetSocketAddress remote, InetSocketAddress local) throws IOException { return new TcpRdmaConnection(remote, local); } @Override public RdmaConnection connect(String hostname, int port) throws IOException { InetSocketAddress remoteAddress = new InetSocketAddress(hostname, port); RdmaConnection connection = createConnection(remoteAddress, null); connection.connect();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
// Act String s = sid.toString(); // Assert assertEquals("S-1-5-21-99", s); assertEquals(99, sid.getRid()); } @Test @DisplayName("Textual constructor invalid format throws SmbException") void testTextualConstructorInvalid() { // Arrange String bad = "S-1"; // fewer than 3 tokensCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java
public void testModify_basher() throws Exception { int nTasks = 3000; int nThreads = 100; int getsPerTask = 1000; int deltaRange = 10000; String key = "key"; AtomicLongMap<String> map = AtomicLongMap.create(); ExecutorService threadPool = newFixedThreadPool(nThreads); ArrayList<Future<Long>> futures = new ArrayList<>(); for (int i = 0; i < nTasks; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java
* * @param config the SMB configuration * @param pipeName the name of the pipe to peek * @param fid the file identifier for the pipe */ public TransPeekNamedPipe(final Configuration config, final String pipeName, final int fid) { super(config, SMB_COM_TRANSACTION, TRANS_PEEK_NAMED_PIPE); this.name = pipeName; this.fid = fid; this.timeout = 0xFFFFFFFF; this.maxParameterCount = 6;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0) -
okhttp-zstd/api/okhttp-zstd.api
public static final field INSTANCE Lokhttp3/zstd/Zstd; public fun decompress (Lokio/BufferedSource;)Lokio/Source; public fun getEncoding ()Ljava/lang/String;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 18:34:32 GMT 2025 - 259 bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
int flags, desiredAccess, searchAttributes, fileAttributes, creationTime, openFunction, allocationSize; // flags is NOT the same as flags member SmbComOpenAndX(final String fileName, final int access, final int flags, final ServerMessageBlock andx) { super(andx); this.path = fileName; command = SMB_COM_OPEN_ANDX; desiredAccess = access & 0x3;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleMappingDelegate.java
* * @since 3.2.0 * @see org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate */ public interface LifecycleMappingDelegate { Map<String, List<MojoExecution>> calculateLifecycleMappings( MavenSession session, MavenProject project, Lifecycle lifecycle, String lifecyclePhase) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0)