Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 437 for readLine (0.04 sec)

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

     * </td></tr>
     * <tr><td ><pre>
     * new SmbNamedPipe( "smb1://server/IPC$/foo",
     *         SmbNamedPipe.PIPE_TYPE_RDWR );
     * </pre></td><td>
     * Open the Named Pipe foo for reading and writing. The pipe will
     * behave as though the <code>CreateFile</code>, <code>ReadFile</code>,
     * <code>WriteFile</code>, and <code>CloseFile</code> interface was
     * being used.
     * </td></tr>
     * </table>
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Serialization.java

        for (int i = 0; i < distinctKeys; i++) {
          @SuppressWarnings("unchecked") // reading data stored by writeMultimap
          K key = (K) stream.readObject();
          Collection<V> values = multimap.get(key);
          int valueCount = stream.readInt();
          for (int j = 0; j < valueCount; j++) {
            @SuppressWarnings("unchecked") // reading data stored by writeMultimap
            V value = (V) stream.readObject();
            values.add(value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            if (file.type == SmbFile.TYPE_NAMED_PIPE) {
                response.responseTimeout = 0;
            }
    
            int r, n;
            do {
                r = len > readSize ? readSize : len;
    
                if (LogStream.level >= 4) {
                    SmbFile.log.println("read: len=" + len + ",r=" + r + ",fp=" + fp);
                }
    
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

         */
        private void init(final SmbTreeHandleInternal th) throws CIFSException {
            if (this.smb2) {
                this.readSize = th.getReceiveBufferSize();
                this.readSizeFile = th.getReceiveBufferSize();
                return;
            }
    
            this.readSize = Math.min(th.getReceiveBufferSize() - 70, th.getMaximumBufferSize() - 70);
    
            if (th.hasCapability(SmbConstants.CAP_LARGE_READX)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbNamedPipe.java

     * <td >
     *
     * <pre>
     * new SmbNamedPipe("smb://server/IPC$/foo", SmbNamedPipe.PIPE_TYPE_RDWR, context);
     * </pre>
     *
     * </td>
     * <td>
     * Open the Named Pipe foo for reading and writing. The pipe will
     * behave as though the <code>CreateFile</code>, <code>ReadFile</code>,
     * <code>WriteFile</code>, and <code>CloseFile</code> interface was
     * being used.
     * </td>
     * </tr>
     * </table>
     *
     * <p>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. api/go1.25.txt

    pkg io/fs, func Lstat(FS, string) (FileInfo, error) #49580
    pkg io/fs, func ReadLink(FS, string) (string, error) #49580
    pkg io/fs, type ReadLinkFS interface { Lstat, Open, ReadLink } #49580
    pkg io/fs, type ReadLinkFS interface, Lstat(string) (FileInfo, error) #49580
    pkg io/fs, type ReadLinkFS interface, Open(string) (File, error) #49580
    pkg io/fs, type ReadLinkFS interface, ReadLink(string) (string, error) #49580
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jun 02 16:09:57 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/util/SMBUtilTest.java

            SMBUtil.writeTime(0L, buffer, 0);
            long readTime = SMBUtil.readTime(buffer, 0);
            // When writing 0, it writes 0 directly, and when reading 0, it returns negative offset
            assertEquals(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601, readTime);
        }
    
        @Test
        void testUTimeConversionRoundTrip() {
            // Test various time values (in milliseconds)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            long readTime = (Long) getFieldValue(response, "lastWriteTime");
            // UTime is seconds since 1970, so we need to compare at second precision
            assertEquals(lastWriteTime / 1000, readTime / 1000);
        }
    
        @Test
        void testReadParameterWordsWireFormatWithZeroWordCount() {
            // Test reading when wordCount is 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

        try {
          listSource().buffer().use { bufferedSource ->
            val totalBytes = bufferedSource.readInt()
            publicSuffixListBytes = bufferedSource.readByteString(totalBytes.toLong())
    
            val totalExceptionBytes = bufferedSource.readInt()
            publicSuffixExceptionListBytes = bufferedSource.readByteString(totalExceptionBytes.toLong())
          }
    
          synchronized(this) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

       * @throws IOException if an I/O error occurs
       */
      public static List<String> readLines(File file, Charset charset) throws IOException {
        // don't use asCharSource(file, charset).readLines() because that returns
        // an immutable list, which would change the behavior of this method
        return asCharSource(file, charset)
            .readLines(
                new LineProcessor<List<String>>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top