Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 406 for getByte (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            // flags (2 bytes, LE) -> 0x0000
            assertEquals((byte) 0x00, dst[10]);
            assertEquals((byte) 0x00, dst[11]);
    
            // filename bytes, then null terminator
            byte[] nameBytes = name.getBytes();
            for (int i = 0; i < nameBytes.length; i++) {
                assertEquals(nameBytes[i], dst[12 + i], "Filename byte mismatch at index " + i);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                handshake();
            } catch (final IOException ex) {}
            return connection.getExpiration();
        }
    
        @Override
        public long getDate() {
            try {
                handshake();
            } catch (final IOException ex) {}
            return connection.getDate();
        }
    
        @Override
        public long getLastModified() {
            try {
                handshake();
            } catch (final IOException ex) {}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

        /**
         * Context name for durable handle reconnect
         */
        public static final String CONTEXT_NAME = "DHnC";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
        private static final int STRUCTURE_SIZE = 16;
    
        private byte[] fileId; // 16-byte file ID from previous open
    
        /**
         * Create a new durable handle reconnect context
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbShareInfo.java

            this.netName = netName;
            this.type = type;
            this.remark = remark;
        }
    
        @Override
        public String getName() {
            return netName;
        }
    
        @Override
        public int getType() {
            /* 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end
             */
            switch (type & 0xFFFF) {
            case 1:
                return SmbFile.TYPE_PRINTER;
            case 3:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.java

        private String type = "jar";
    
        public TypeArtifactFilter(String type) {
            this.type = type;
        }
    
        @Override
        public boolean include(Artifact artifact) {
            return type.equals(artifact.getType());
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + type.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/WorkspaceRepository.java

     */
    public interface WorkspaceRepository extends Repository {
    
        /**
         * {@return the type of the repository, i.e. "workspace"}
         */
        @Nonnull
        @Override
        default String getType() {
            return "workspace";
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

          random.nextBytes(bytes);
          String s = new String(bytes, UTF_16LE); // so all random strings are valid
          assertEquals(
              new TestHasher().putUnencodedChars(s).hash(),
              new TestHasher().putBytes(s.getBytes(UTF_16LE)).hash());
          assertEquals(
              new TestHasher().putUnencodedChars(s).hash(),
              new TestHasher().putString(s, UTF_16LE).hash());
        }
      }
    
      public void testFloat() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java

        /**
         * Context name for durable handle reconnect response
         */
        public static final String CONTEXT_NAME = "DHnC";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
    
        // The response structure is empty (0 bytes) for reconnect
        // No data is returned in a successful reconnect response
    
        /**
         * Create a new durable handle reconnect response
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

        /**
         * Context name for lease V2 request
         */
        public static final String CONTEXT_NAME = "RqL2";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
    
        private Smb2LeaseKey leaseKey;
        private int leaseState;
        private int leaseFlags;
        private Smb2LeaseKey parentLeaseKey;
        private int epoch;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        }
    
        public String getVersion() {
            return version;
        }
    
        public void setVersion(String version) {
            this.version = version;
        }
    
        public String getType() {
            return type;
        }
    
        public String getCheckedType() {
            return type == null ? "jar" : type;
        }
    
        public void setType(String type) {
            this.type = type;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top