Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 348 for getTypes (0.09 sec)

  1. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            int versionMajor;
            int versionMinor;
            int type;
            String commentOrMasterBrowser;
    
            public String getName() {
                return name;
            }
            public int getType() {
                return (type & 0x80000000) != 0 ? SmbFile.TYPE_WORKGROUP : SmbFile.TYPE_SERVER;
            }
            public int getAttributes() {
                return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            Encdec.enc_uint32le(len + 1, buf, i); i += 4;
            Encdec.enc_uint32le(0, buf, i); i += 4;
            Encdec.enc_uint32le(len + 1, buf, i); i += 4;
            try {
                System.arraycopy(s.getBytes("UTF-16LE"), 0, buf, i, len * 2);
            } catch( UnsupportedEncodingException uee ) {
            }
            i += len * 2;
            buf[i++] = (byte)'\0';
            buf[i++] = (byte)'\0';
            advance(i - index);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        DataInput in = new DataInputStream(new ByteArrayInputStream(data));
    
        /* Read in various values NORMALLY */
        byte[] b = new byte[6];
        in.readFully(b);
        assertEquals("r\u00C9sum\u00C9".getBytes(ISO_8859_1), b);
      }
    
      @SuppressWarnings("deprecation") // testing a deprecated method
      public void testWriteBytes_discardHighOrderBytes() throws IOException {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        DataInput in = new DataInputStream(new ByteArrayInputStream(data));
    
        /* Read in various values NORMALLY */
        byte[] b = new byte[6];
        in.readFully(b);
        assertEquals("r\u00C9sum\u00C9".getBytes(ISO_8859_1), b);
      }
    
      @SuppressWarnings("deprecation") // testing a deprecated method
      public void testWriteBytes_discardHighOrderBytes() throws IOException {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

         * @param string
         * @return null terminated ASCII bytes
         */
        private static byte[] toCBytes ( String string ) {
            byte[] data = new byte[string.length() + 1];
            System.arraycopy(string.getBytes(StandardCharsets.US_ASCII), 0, data, 0, string.length());
            return data;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

            if ( this.fileName == null ) {
                SMBUtil.writeInt2(0, dst, fnOffsetOffset);
                SMBUtil.writeInt2(0, dst, fnLengthOffset);
            }
            else {
                byte[] fnBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE);
                SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, fnOffsetOffset);
                SMBUtil.writeInt2(fnBytes.length, dst, fnLengthOffset);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 6K bytes
    - Viewed (0)
  7. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/searchlist/ListForm.java

        }
    
        @Override
        public Locale getLocale() {
            return ComponentUtil.getRequestManager().getUserLocale();
        }
    
        @Override
        public SearchRequestType getType() {
            return SearchRequestType.ADMIN_SEARCH;
        }
    
        @Override
        public String getSimilarDocHash() {
            return sdh;
        }
    
        @Override
        public String getTrackTotalHits() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        }
    
        public String getVersion() {
            return metadata.storedInArtifactVersionDirectory() ? emptify(metadata.getBaseVersion()) : "";
        }
    
        public String getType() {
            return metadata.getRemoteFilename();
        }
    
        private String emptify(String string) {
            return (string != null) ? string : "";
        }
    
        public File getFile() {
            return null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top