Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,064 for readn (0.02 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/FileOperator.kt

    import java.nio.channels.FileChannel
    import okio.Buffer
    
    /**
     * Read and write a target file. Unlike Okio's built-in `Okio.source(java.io.File file)` and `Okio.sink(java.io.File file)`
     * this class offers:
     *
     *  * **Read/write:** read and write using the same operator.
     *  * **Random access:** access any position within the file.
     *  * **Shared channels:** read and write a file channel that's shared between
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

            assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access");
            assertTrue(region.hasAccess(RdmaAccess.LOCAL_WRITE), "Should have local write access");
            assertFalse(region.hasAccess(RdmaAccess.REMOTE_READ), "Should not have remote read access");
    
            // Test cleanup
            region.close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSourceTester.java

      public void testOpenStream() throws IOException {
        Reader reader = source.openStream();
    
        StringWriter writer = new StringWriter();
        char[] buf = new char[64];
        int read;
        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
        assertExpectedString(writer.toString());
      }
    
      public void testOpenBufferedStream() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            // Flags should not be set for partial read
            assertFalse(d.getParametersDone(), "parametersDone should be false for partial read");
            assertFalse(d.getDataDone(), "dataDone should be false for partial read");
            assertTrue(d.getHasMore(), "hasMore should remain true for partial read");
        }
    
        /**
         * Test scenario with no data to read
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. android/guava-testlib/pom.xml

                  -->
                  <compilerArgs combine.self="override">
                    <arg>-sourcepath</arg>
                    <arg>${project.basedir}/src</arg>
                    <arg>--add-reads=com.google.common=ALL-UNNAMED</arg>
                    <arg>--add-reads=com.google.common.testlib=ALL-UNNAMED</arg>
                    <!-- https://errorprone.info/docs/installation#maven -->
                    <arg>-XDcompilePolicy=simple</arg>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Mar 19 17:26:38 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. guava-testlib/pom.xml

                  -->
                  <compilerArgs combine.self="override">
                    <arg>-sourcepath</arg>
                    <arg>${project.basedir}/src</arg>
                    <arg>--add-reads=com.google.common=ALL-UNNAMED</arg>
                    <arg>--add-reads=com.google.common.testlib=ALL-UNNAMED</arg>
                    <!-- https://errorprone.info/docs/installation#maven -->
                    <arg>-XDcompilePolicy=simple</arg>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Mar 19 17:26:38 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/jar/JarFileUtil.java

        }
    
        private static final Logger logger = Logger.getLogger(JarFileUtil.class);
    
        /**
         * Creates and returns a <code>JarFile</code> to read the specified JAR file.
         *
         * @param file the file path (must not be {@literal null})
         * @return a <code>JarFile</code> to read the specified JAR file
         */
        public static JarFile create(final String file) {
            assertArgumentNotNull("file", file);
    
            try {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

        factory.close()
      }
    
      inner class FakePlan(
        val id: Int,
      ) : RoutePlanner.Plan {
        var planningThrowable: Throwable? = null
        var canceled = false
        var connectState = ConnectState.READY
        val connection =
          factory.newConnection(
            pool = pool,
            route = factory.newRoute(address),
            idleAtNanos = defaultConnectionIdleAtNanos,
          )
        var retry: FakePlan? = null
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. docs/distributed/decom-compressed-sse-s3.sh

    export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:9000/"
    
    (minio server http://localhost:9000/tmp/xl/{1...10}/disk{0...1} 2>&1 >/dev/null) &
    pid=$!
    
    ./mc ready myminio
    
    ./mc admin user add myminio/ minio123 minio123
    ./mc admin user add myminio/ minio12345 minio12345
    
    ./mc admin policy create myminio/ rw ./docs/distributed/rw.json
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharSourceTest.java

        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    
        StringWriter writer = new StringWriter();
        char[] buf = new char[64];
        int read;
        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
        assertTrue(source.wasStreamClosed());
        assertEquals(STRING, writer.toString());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top