Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 406 for getByte (0.05 sec)

  1. src/main/java/org/codelibs/curl/io/ContentCache.java

     * it returns a ByteArrayInputStream.
     *
     * <p>Example usage:
     * <pre>
     * {@code
     * // In-memory caching
     * byte[] data = "example data".getBytes();
     * try (ContentCache cache = new ContentCache(data)) {
     *     InputStream inputStream = cache.getInputStream();
     *     // Read from inputStream
     * }
     *
     * // File-based caching
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                    }
                    System.arraycopy(str.getBytes(UNI_ENCODING), 0, dst, dstIndex, str.length() * 2);
                    dstIndex += str.length() * 2;
                    dst[dstIndex] = (byte) '\0';
                    dstIndex++;
                    dst[dstIndex++] = (byte) '\0';
                } else {
                    final byte[] b = str.getBytes(OEM_ENCODING);
                    System.arraycopy(b, 0, dst, dstIndex, b.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

            this.access = access;
            this.sharing = sharing;
    
            try (SmbTreeHandleInternal th = file.ensureTreeConnected()) {
                this.smb2 = th.isSMB2();
                if (file.getType() != SmbConstants.TYPE_NAMED_PIPE) {
                    try (SmbFileHandle h = ensureOpen()) {}
                    this.openFlags &= ~(SmbConstants.O_CREAT | SmbConstants.O_TRUNC);
                }
    
                init(th);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          random.nextBytes(bytes);
          String s = new String(bytes, UTF_16LE); // so all random strings are valid
          assertEquals(
              new Sink(4).putUnencodedChars(s).hash(),
              new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash());
          assertEquals(
              new Sink(4).putUnencodedChars(s).hash(), new Sink(4).putString(s, UTF_16LE).hash());
        }
      }
    
      public void testFloat() {
        Sink sink = new Sink(4);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenInit.java

                        break;
                    case 1:
                        final ASN1BitString ctxFlags = ASN1BitString.getInstance(tagged, true);
                        setContextFlags(ctxFlags.getBytes()[0] & 0xff);
                        break;
                    case 2:
                        final ASN1OctetString mechanismToken = ASN1OctetString.getInstance(tagged, true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

        }
    
        @Override
        public Locale getLocale() {
            return ComponentUtil.getRequestManager().getUserLocale();
        }
    
        @Override
        public SearchRequestType getType() {
            return SearchRequestType.SEARCH;
        }
    
        @Override
        public String getSimilarDocHash() {
            return sdh;
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

        /**
         * Context name for durable handle V2 request
         */
        public static final String CONTEXT_NAME = "DH2Q";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
        private static final int STRUCTURE_SIZE = 32; // Corrected to 32 bytes as per MS-SMB2
    
        // MS-SMB2: Timeout is specified in 100-nanosecond intervals, but we store in milliseconds
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

            this.config = config;
            this.unicode = unicode;
        }
    
        @Override
        public String getName() {
            return this.filename;
        }
    
        @Override
        public int getType() {
            return SmbConstants.TYPE_FILESYSTEM;
        }
    
        /**
         * @return the fileIndex
         */
        @Override
        public int getFileIndex() {
            return this.fileIndex;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/MimeMap.java

            int state, t, x, i, off;
            byte ch;
            final byte[] type = new byte[128];
            final byte[] buf = new byte[16];
            final byte[] ext = extension.toLowerCase().getBytes("ASCII");
    
            state = ST_START;
            t = x = i = 0;
            for (off = 0; off < inLen; off++) {
                ch = in[off];
                switch (state) {
                case ST_START:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         *
         * @return the byte array if operation succeeded, {@code null} if source does not exist.
         * @throws RuntimeException If failed (and not due source not exists).
         */
        @Nonnull
        Optional<byte[]> getBytes(@Nonnull URI relativeSource);
    
        /**
         * GETs the source URI content as string. The source MUST BE relative from the {@link RemoteRepository#getUrl()}
         * root.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top