Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1811 - 1820 of 3,706 for private (0.11 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

    /**
     * This InputStream can read bytes from a file on an SMB file server. Offsets are 64 bits.
     */
    
    public class SmbFileInputStream extends InputStream {
    
        private long fp;
        private final int readSize;
        private int openFlags;
        private final int access;
        private byte[] tmp = new byte[1];
    
        SmbFile file;
    
        /**
         * Creates an {@link java.io.InputStream} for reading bytes from a file on
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

          }
        };
      }
    
      /** Implementation of PeekingIterator that avoids peeking unless necessary. */
      private static final class PeekingImpl<E extends @Nullable Object> implements PeekingIterator<E> {
    
        private final Iterator<? extends E> iterator;
        private boolean hasPeeked;
        private @Nullable E peekedElement;
    
        PeekingImpl(Iterator<? extends E> iterator) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

          HandshakeCertificates
            .Builder()
            .heldCertificate(heldCertificate)
            .addTrustedCertificate(heldCertificate.certificate)
            .build()
        }
      private var acceptedHostName: String? = null
    
      @StartStop
      private val server = MockWebServer()
    
      @BeforeEach
      fun setUp() {
        // Test designed for Conscrypt and JSSE
        platform.assumeNotBouncyCastle()
      }
    
      @ParameterizedTest
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class MapPutAllTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMapTester<K, V> {
      private List<Entry<K, V>> containsNullKey;
      private List<Entry<K, V>> containsNullValue;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        containsNullKey = singletonList(entry(null, v3()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

          assertFullyRead(reader);
        }
      }
    
      private static void assertFullyRead(CharSequenceReader reader) throws IOException {
        assertEquals(-1, reader.read());
        assertEquals(-1, reader.read(new char[10], 0, 10));
        assertEquals(-1, reader.read(CharBuffer.allocate(10)));
        assertEquals(0, reader.skip(10));
      }
    
      private static String readFully(CharSequenceReader reader) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

        }
    
        private void checkArtifactIdScope(MavenProject project, String scope, String scopeValue) {
            String artifactId = "scope-" + scope;
            Artifact artifact = getArtifact(project, "maven-test", artifactId);
            assertNotNull(artifact);
            assertEquals(scopeValue, artifact.getScope(), "Check scope");
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbSessionInternalTest.java

     */
    @ExtendWith(MockitoExtension.class)
    public class SmbSessionInternalTest {
    
        @Mock
        private SmbSessionInternal session;
    
        @Mock
        private SmbTransport transport;
    
        @Mock
        private SmbTree tree;
    
        @BeforeEach
        void resetMocks() {
            Mockito.reset(session, transport, tree);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacMacTest.java

    import javax.security.auth.kerberos.KerberosPrincipal;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PacMac class.
     */
    class PacMacTest {
    
        private static final byte[] TEST_DATA = "test data".getBytes();
        private static final KerberosPrincipal TEST_PRINCIPAL = new KerberosPrincipal("test@REALM");
    
        /**
         * Test method for
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

        }
    
        /**
         * Key used to query the session data
         * @param <T> the type of the object associated to this key
         */
        final class Key<T> {
    
            private final Class<T> type;
            private final Object id;
    
            private Key(Class<T> type, Object id) {
                this.type = type;
                this.id = id;
            }
    
            public Class<T> type() {
                return type;
            }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            assertNotNull(factory.handerMap);
            assertTrue(factory.handerMap.isEmpty());
        }
    
        // Test implementation of CorsHandler for testing purposes
        private static class TestCorsHandler extends CorsHandler {
            private final String name;
    
            public TestCorsHandler(String name) {
                this.name = name;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top