Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 406 for getByte (0.34 sec)

  1. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

        /**
         * Context name for lease response
         */
        public static final String CONTEXT_NAME = "RqLs";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
    
        private Smb2LeaseKey leaseKey;
        private int leaseState;
        private int leaseFlags;
    
        /**
         * Create a new lease V1 context response
         */
        public LeaseV1CreateContextResponse() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

            return 0;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            byte[] descr;
    
            try {
                descr = DESCR.getBytes("ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
    
            writeInt2(NET_SHARE_ENUM, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NetServerFileEntryAdapterIterator.java

         * @return
         * @throws MalformedURLException
         */
        @Override
        protected SmbResource adapt(final FileEntry e) throws MalformedURLException {
            return new SmbFile(getParent(), e.getName(), false, e.getType(), SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, 0L, 0L,
                    0L, 0L);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                try {
                    domain = DEFAULT_DOMAIN.getBytes(UNI_ENCODING);
                } catch (final IOException ex) {}
            }
            final int domainLength = domain.length;
            byte[] server = {};
            try {
                final String host = NbtAddress.getLocalHost().getHostName();
                if (host != null) {
                    try {
                        server = host.getBytes(UNI_ENCODING);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SIDTest.java

                    "8, Unknown" })
            @DisplayName("getType and getTypeText cover all types")
            void testGetTypeAndText(int type, String text) {
                byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
                SID sid = new SID(buildSidT((byte) 1, ident, 42), type, "DOM", "acct", false);
                assertEquals(type, sid.getType());
                assertEquals(text, sid.getTypeText());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        for (int i = 0; i < params.size(); i++) {
          List<Object> newArgs = new ArrayList<>(args);
          Object newArg = argGenerators.get(i).generateFresh(params.get(i).getType());
    
          if (newArg == null || Objects.equals(args.get(i), newArg)) {
            if (params.get(i).getType().getRawType().isEnum()) {
              continue; // Nothing better we can do if it's single-value enum
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

            this.hashCode = this.content.hashCode();
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
        }
    
        @Override
        public String getLocation() {
            return location;
        }
    
        /**
         * Gets the content of this source.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java

                return (byte[]) o;
            } else if (o == null) {
                return null;
            } else {
                assertArgument("o", o instanceof String, o.getClass().toString());
                return ((String) o).getBytes();
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SambaHelper.java

        }
    
        /**
         * Gets the account ID from a SID.
         * @param sid The SID.
         * @return The account ID.
         */
        public String getAccountId(final SID sid) {
            final int type = sid.getType();
            if (logger.isDebugEnabled()) {
                try {
                    logger.debug("Processing SID: {} {} {}", type, sid, sid.toDisplayString());
                } catch (final Exception e) {
                    // ignore
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exception/InvalidAccessTokenException.java

            super(message);
            this.type = type;
        }
    
        /**
         * Returns the type of the invalid access token.
         *
         * @return the type of the invalid access token
         */
        public String getType() {
            return type;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top