Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 406 for getByte (0.08 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

         */
        public byte[] getFileId() {
            return Arrays.copyOf(fileId, 16);
        }
    
        /**
         * Get the handle type
         * @return the handle type
         */
        public HandleType getType() {
            return type;
        }
    
        /**
         * Get the timeout
         * @return the timeout in milliseconds
         */
        public long getTimeout() {
            return timeout;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

            byte[] buffer = new byte[50];
            int used = cmd.writeBytesWireFormat(buffer, 0);
            // Calculate expected size: 1 byte for command + string bytes + 1 null terminator
            byte[] expectedString = "testfile.txt".getBytes("windows-1252");
            assertEquals(1 + expectedString.length + 1, used, "Expected exactly one command byte plus OEM string and NUL terminator");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

            int type;
            String commentOrMasterBrowser;
    
            @Override
            public String getName() {
                return this.name;
            }
    
            @Override
            public int getType() {
                return (this.type & 0x80000000) != 0 ? SmbConstants.TYPE_WORKGROUP : SmbConstants.TYPE_SERVER;
            }
    
            @Override
            public int getAttributes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java

         * a modular-<abbr>JAR</abbr> if it is intended to be placed on the module path,
         * a <abbr>JAR</abbr> containing test classes, a POM file, <i>etc.</i>
         */
        @Nonnull
        Type getType();
    
        /**
         * {@return the time at which the dependency will be used}
         * It may be, for example, at compile time only, at run time, or at test time.
         */
        @Nonnull
        DependencyScope getScope();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java

            if (content != null) {
                resource.setContentLength(content.length());
                resource.setLastModified(System.currentTimeMillis());
    
                inputData.setInputStream(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)));
            } else {
                throw new ResourceDoesNotExistException("No content provided for " + resource.getName());
            }
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. android/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)
  10. 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)
Back to top