- Sort Score
- Result 10 results
- Languages All
Results 3351 - 3360 of 3,587 for findall (0.04 sec)
-
guava/src/com/google/common/collect/Platform.java
import java.util.concurrent.ConcurrentHashMap; import org.jspecify.annotations.Nullable; /** * Methods factored out so that they can be emulated differently in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { /** Returns the platform preferred implementation of a map based on a hash table. */ static <K extends @Nullable Object, V extends @Nullable Object>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; @Deprecated class ProjectClasspathTestType extends AbstractMavenProjectTestCase { static final String DIR = "projects/scope/"; @Override @BeforeEach public void setUp() throws Exception { super.setUp();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 6.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
/** * Shared methods of the repository metadata handling. * */ @Deprecated public abstract class AbstractRepositoryMetadata implements RepositoryMetadata { private static final String LS = System.lineSeparator(); private Metadata metadata; protected AbstractRepositoryMetadata(Metadata metadata) { this.metadata = metadata; } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.2K bytes - Viewed (0) -
README.md
return response.body().string(); } } ``` Post to a Server ---------------- This program posts data to a service. [Full source][post_example]. ```java public static final MediaType JSON = MediaType.get("application/json"); OkHttpClient client = new OkHttpClient(); String post(String url, String json) throws IOException { RequestBody body = RequestBody.create(json, JSON);
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
import jcifs.internal.smb2.RequestWithFileId; import jcifs.internal.util.SMBUtil; @ExtendWith(MockitoExtension.class) class Smb2CreateResponseTest { // SMB2 header size in bytes private static final int SMB2_HEADER_LENGTH = 64; /** * Build a minimal SMB2 header for a response. */ private static byte[] buildSmb2Header() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
// Given when(mockDelegate.hasNext()).thenReturn(true, false); when(mockDelegate.next()).thenReturn(mockFileEntry1); // Create iterator with custom adapt implementation final boolean[] adaptCalled = { false }; DirFileEntryAdapterIterator iterator = new DirFileEntryAdapterIterator(mockParent, mockDelegate, null) { @Override protected SmbResource adapt(FileEntry e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
} } /** * Test helper class for mocking URL.openConnection() behavior */ static class TestURLStreamHandler extends java.net.URLStreamHandler { private final List<HttpURLConnection> connections = new ArrayList<>(); private int currentIndex = 0; void addConnection(HttpURLConnection conn) { connections.add(conn); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
session.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory().newInstance(session, localRepo)); return session; } private static final char[] HEX_CODE = "0123456789ABCDEF".toCharArray(); private static String printHexBinary(byte[] data) { StringBuilder r = new StringBuilder(data.length * 2); for (byte b : data) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 13.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
* input. */ @VisibleForTesting( ) static final double HASH_FLOODING_FPP = 0.001; /** * Maximum allowed length of a hash table bucket before falling back to a j.u.LinkedHashSet based * implementation. Experimentally determined. */ private static final int MAX_HASH_BUCKET_LENGTH = 9;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 23.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * @author Gregory Kick */ @GwtCompatible @NullUnmarked public class ContiguousSetTest extends TestCase { private static final DiscreteDomain<Integer> NOT_EQUAL_TO_INTEGERS = new DiscreteDomain<Integer>() { @Override public Integer next(Integer value) { return integers().next(value); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0)