Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,346 for real (0.02 sec)

  1. src/main/java/jcifs/smb1/netbios/SocketInputStream.java

        }
    
        @Override
        public synchronized int read() throws IOException {
            if (read(tmp, 0, 1) < 0) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
        @Override
        public synchronized int read(final byte[] b) throws IOException {
            return read(b, 0, b.length);
        }
    
        /* This method will not return until len bytes have been read
         * or the stream has been closed.
         */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                SMBUtil.writeInt2(17, buffer, 0); // Structure size
                SMBUtil.writeInt2(0, buffer, 2); // Reserved
                SMBUtil.writeInt4(-1, buffer, 4); // Count (will be read as unsigned)
                SMBUtil.writeInt4(-2, buffer, 8); // Remaining (will be read as unsigned)
                SMBUtil.writeInt4(0, buffer, 12); // WriteChannelInfoOffset/Length
    
                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

    /**
     * SMB1 Read AndX request message.
     *
     * This command is used to read data from a file that has been
     * previously opened with an Open command.
     */
    public class SmbComReadAndX extends AndXServerMessageBlock {
    
        private long offset;
        private int fid;
        int openTimeout;
        int maxCount, minCount, remaining;
    
        /**
         * Constructs a Read AndX request.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

         * @param len length of data to read
         * @return number of bytes read
         */
        protected abstract int readSetupWireFormat(byte[] buffer, int bufferIndex, int len);
    
        /**
         * Reads parameters from wire format
         * @param buffer source buffer
         * @param bufferIndex starting index in source buffer
         * @param len length of data to read
         * @return number of bytes read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

        assertEquals(0, ticker.read());
        assertEquals(10, ticker.read());
        assertEquals(20, ticker.read());
      }
    
      public void testAutoIncrementStep_millis() {
        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, MILLISECONDS);
        assertEquals(0, ticker.read());
        assertEquals(1000000, ticker.read());
        assertEquals(2000000, ticker.read());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/ByteStreams.java

          int off = (int) expectedSize - remaining;
          int read = in.read(bytes, off, remaining);
          if (read == -1) {
            // end of stream before reading expectedSize bytes
            // just return the bytes read so far
            return Arrays.copyOf(bytes, off);
          }
          remaining -= read;
        }
    
        // bytes is now full
        int b = in.read();
        if (b == -1) {
          return bytes;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            @DisplayName("getUserDomain: explicit realm overrides")
            void getUserDomain_fromExplicitRealm() {
                Kerb5Authenticator auth = new Kerb5Authenticator(new Subject());
                auth.setRealm("REALM.TEST");
                assertEquals("REALM.TEST", auth.getUserDomain());
            }
    
            @Test
            @DisplayName("getUserDomain: falls back to super domain when no realm/subject")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/CharSource.java

     *       block indefinitely or fail if the source creates an infinite reader.
     *   <li><b>Non-destructive:</b> A <i>destructive</i> reader will consume or otherwise alter the
     *       source as they are read from it. A source that provides such readers will not be reusable,
     *       and operations that read from the stream (including {@link #length()}, in some
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/CharSource.java

     *       block indefinitely or fail if the source creates an infinite reader.
     *   <li><b>Non-destructive:</b> A <i>destructive</i> reader will consume or otherwise alter the
     *       source as they are read from it. A source that provides such readers will not be reusable,
     *       and operations that read from the stream (including {@link #length()}, in some
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

                // Read first 5 bytes
                byte[] buffer = new byte[5];
                int bytesRead = stream.read(buffer);
                assertEquals(5, bytesRead);
                assertEquals("Hello", new String(buffer, 0, bytesRead, "UTF-8"));
    
                // Read remaining bytes
                byte[] remaining = new byte[20];
                int remainingBytes = stream.read(remaining);
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top