- Sort Score
- Num 10 results
- Language All
Results 971 - 980 of 1,863 for myinstance (0.07 seconds)
-
android/guava/src/com/google/common/cache/CacheLoader.java
* reloading or bulk loading. This is most useful when you can pass a lambda expression. Otherwise * it is useful mostly when you already have an existing function instance. * * <p>The returned object is serializable if {@code function} is serializable. * * @param function the function to be used for loading values; must never return {@code null}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 9.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
assertTrue(Modifier.isPrivate(constructor.getModifiers()), "Constructor should be private"); // Force accessibility and create instance to achieve coverage constructor.setAccessible(true); assertNotNull(constructor.newInstance(), "Should be able to create instance via reflection"); } @Nested @DisplayName("Header Constants") class HeaderConstants { @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
@Mock private NameServiceClient mockNameServiceClient; private NtlmHttpURLConnection ntlmConnection; /** * Sets up the mocks and the NtlmHttpURLConnection instance before each test. * @throws IOException */ @BeforeEach void setUp() throws IOException { // Create a real URL instead of mocking to avoid protocol issuesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); response = new NtTransNotifyChangeResponse(mockConfig); } @Test @DisplayName("Test constructor creates instance with empty notification list") void testConstructor() { assertNotNull(response); assertNotNull(response.getNotifyInformation()); assertTrue(response.getNotifyInformation().isEmpty()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); session.setScopeManager(new ScopeManagerImpl(Maven4ScopeManagerConfiguration.INSTANCE)); session.setArtifactDescriptorPolicy(new SimpleArtifactDescriptorPolicy(true, true)); DependencyTraverser depTraverser = new FatArtifactTraverser(); session.setDependencyTraverser(depTraverser);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 09:40:15 GMT 2025 - 13.8K bytes - Click Count (0) -
android/guava-tests/pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.google.guava</groupId> <artifactId>guava-parent</artifactId> <version>999.0.0-HEAD-android-SNAPSHOT</version> </parent>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 03:10:05 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashingInputStream.java
throw new IOException("reset not supported"); } /** * Returns the {@link HashCode} based on the data read from this stream. The result is unspecified * if this method is called more than once on the same instance. */ public HashCode hash() { return hasher.hash(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
private SmbComSessionSetupAndX setupAndX; @BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); // Create a real ServerData instance as it's not mockable (inner class) SmbTransport.ServerData serverData = mockTransport.new ServerData(); serverData.security = ServerMessageBlock.SECURITY_USER; serverData.encryptedPasswords = true;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Longs.java
* long[])}. * * @since 2.0 */ public static Comparator<long[]> lexicographicalComparator() { return LexicographicalComparator.INSTANCE; } private enum LexicographicalComparator implements Comparator<long[]> { INSTANCE; @Override public int compare(long[] left, long[] right) { int minLength = Math.min(left.length, right.length);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 29K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java
assertThrows( NullPointerException.class, () -> { Object unused = getSubjectGenerator().create(array); }); } /** * Returns the {@link Method} instance for {@link #testCreateWithNull_unsupported()} so that tests * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3K bytes - Click Count (0)