Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 514 for getByte (0.09 sec)

  1. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            byte[] data = new byte[100];
    
            digest.sign(data, 0, data.length, mockRequest, mockResponse);
    
            // Check if BSRSPYL signature is written
            byte[] expectedSignature = "BSRSPYL ".getBytes();
            byte[] actualSignature = new byte[8];
            System.arraycopy(data, SmbConstants.SIGNATURE_OFFSET, actualSignature, 0, 8);
            assertArrayEquals(expectedSignature, actualSignature);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                    try (GZIPOutputStream gos = new GZIPOutputStream(baos)) {
                        gos.write(hash.getBytes(Constants.UTF_8));
                    }
                    return SIMILAR_DOC_HASH_PREFIX + Base64.getUrlEncoder().withoutPadding().encodeToString(baos.toByteArray());
                } catch (final IOException e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

                        }
                    }
                }
            }
    
            final String hostName = loc.getServerWithDfs();
            final String path = loc.getType() == SmbConstants.TYPE_SHARE || loc.getUNCPath() == null || "\\".equals(loc.getUNCPath()) ? null
                    : loc.getUNCPath();
            String share = loc.getShare();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         */
        public static String base64(final String value) {
            if (value == null) {
                return StringUtil.EMPTY;
            }
            return Base64.getUrlEncoder().encodeToString(value.getBytes(Constants.CHARSET_UTF_8));
        }
    
        /**
         * Checks if a file exists at the specified path within the servlet context.
         *
         * @param path the file path relative to the servlet context
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  5. src/main/java/jcifs/SmbResource.java

         * TYPE_PRINTER, TYPE_NAMED_PIPE</code>, or <code>TYPE_COMM</code>.
         * @throws CIFSException if an error occurs accessing the resource
         */
        int getType() throws CIFSException;
    
        /**
         * Tests to see if the SMB resource exists. If the resource refers
         * only to a server, this method determines if the server exists on the
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                final String value = url.replaceFirst("^smb.?:/+", StringUtil.EMPTY);
                return abbreviateSite("\\\\" + value.replace('/', '\\'));
            }
    
            return getSite(url, encoding);
        }
    
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            final byte[] data = accessResultData.getData();
            if (data != null) {
                try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            dstIndex += 4;
            SMBUtil.writeInt4(this.createOptions, dst, dstIndex);
            dstIndex += 4;
    
            final int nameOffsetOffset = dstIndex;
            final byte[] nameBytes = this.name.getBytes(StandardCharsets.UTF_16LE);
            SMBUtil.writeInt2(nameBytes.length, dst, dstIndex + 2);
            dstIndex += 4;
    
            final int createContextOffsetOffset = dstIndex;
            dstIndex += 4; // createContextOffset
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            for (Dependency dependency : dependencies) {
                String key = dependency.getManagementKey();
    
                if ("import".equals(dependency.getScope())) {
                    if (!"pom".equals(dependency.getType())) {
                        addViolation(
                                problems,
                                Severity.WARNING,
                                Version.V20,
                                prefix + prefix2 + "type",
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            Encdec.enc_doublebe(v, this.tmp, 0);
            write(this.tmp, 0, 8);
        }
    
        @Override
        public final void writeBytes(final String s) throws SmbException {
            final byte[] b = s.getBytes();
            write(b, 0, b.length);
        }
    
        @Override
        public final void writeChars(final String s) throws SmbException {
            final int clen = s.length();
            final int blen = 2 * clen;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         * @return the encoded string, truncated if necessary
         */
        public static String createSuggestTextId(final String text) {
            final String id = encoder.encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8));
            if (id.length() > ID_MAX_LENGTH) {
                return id.substring(0, ID_MAX_LENGTH);
            }
            return id;
        }
    
        /**
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 11:21:40 UTC 2025
    - 17.5K bytes
    - Viewed (1)
Back to top