Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 406 for getByte (0.03 sec)

  1. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            Method calcMethod = findMethod(transport.getClass(), "calculatePreauthHash", byte[].class, int.class, int.class, byte[].class);
            calcMethod.setAccessible(true);
    
            byte[] input = "test data".getBytes();
            byte[] oldHash = new byte[64];
    
            byte[] newHash = (byte[]) calcMethod.invoke(transport, input, 0, input.length, oldHash);
    
            assertNotNull(newHash);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteArrayDataOutput.java

      void writeChars(String s);
    
      @Override
      void writeUTF(String s);
    
      /**
       * @deprecated This method is dangerous as it discards the high byte of every character. For
       *     UTF-8, use {@code write(s.getBytes(StandardCharsets.UTF_8))}.
       */
      @Deprecated
      @Override
      void writeBytes(String s);
    
      /** Returns the contents that have been written to this instance, as a byte array. */
      byte[] toByteArray();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 20:25:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

            this.attrExpiration = currentTime + getContext().getConfig().getAttributeCacheTimeout();
            return this.isExists;
        }
    
        @Override
        public int getType() throws SmbException {
            try {
                final int t = this.fileLocator.getType();
                if (t == TYPE_SHARE) {
                    try (SmbTreeHandle th = ensureTreeConnected()) {
                        this.fileLocator.updateType(th.getTreeType());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java

        protected ListBody createListBody(final DictionaryFile<? extends DictionaryItem> dictionaryFile) {
            final ListBody body = new ListBody();
            body.id = dictionaryFile.getId();
            body.type = dictionaryFile.getType();
            body.path = dictionaryFile.getPath();
            body.timestamp = dictionaryFile.getTimestamp();
            return body;
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java

        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(this.maxReferralLevel, dst, dstIndex);
            dstIndex += 2;
            final byte[] pathBytes = this.path.getBytes(StandardCharsets.UTF_16LE);
            System.arraycopy(pathBytes, 0, dst, dstIndex, pathBytes.length);
            dstIndex += pathBytes.length;
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2; // null terminator
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/Type3Message.java

                domainBytes = unicode ? domainName.getBytes(UNI_ENCODING) : domainName.getBytes(oemCp);
                size += domainBytes.length;
            }
    
            final String userName = getUser();
            byte[] userBytes = null;
            if (userName != null && userName.length() != 0) {
                userBytes = unicode ? userName.getBytes(UNI_ENCODING) : userName.toUpperCase().getBytes(oemCp);
                size += userBytes.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

      private static Type getSupertype(Type type, Class<?> superclass) {
        Class rawType = superclass;
        return TypeToken.of(type).getSupertype(rawType).getType();
      }
    
      private static Type getSubtype(Type type, Class<?> subclass) {
        return TypeToken.of(type).getSubtype(subclass).getType();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        String getClassifier();
    
        String getExtension();
    
        String getType();
    
        String getCoordinatesString();
    
        @Nonnull
        static ArtifactCoordinatesFactoryRequest build(
                @Nonnull Session session, String groupId, String artifactId, String version, String extension) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

            if (text == null) {
                return null;
            }
    
            final MessageDigest msgDigest = getInstance(algorithm);
            try {
                msgDigest.update(text.getBytes("UTF-8"));
            } catch (final UnsupportedEncodingException e) {
                throw new ClIllegalStateException(e);
            }
            final byte[] digest = msgDigest.digest();
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. docs/smb3-features/02-persistent-handles-design.md

            writeInt2(buffer, offset + 10, STRUCTURE_SIZE);  // DataOffset
            writeInt4(buffer, offset + 12, STRUCTURE_SIZE);  // DataLength
            
            // Name
            System.arraycopy(getName().getBytes(), 0, buffer, offset + 16, nameLen);
            
            // Data (16 bytes of reserved)
            int dataOffset = offset + 16 + nameLen;
            dataOffset = (dataOffset + 7) & ~7;  // 8-byte alignment
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top