Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 450 for getByte (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals(0, dst[1]);
    
            // Verify descriptor (WrLehDO\0B16BBDz\0 in ASCII)
            String expectedDescr = "WrLehDO\u0000B16BBDz\u0000";
            byte[] expectedDescrBytes = expectedDescr.getBytes("ASCII");
            byte[] actualDescrBytes = new byte[expectedDescrBytes.length];
            System.arraycopy(dst, 2, actualDescrBytes, 0, expectedDescrBytes.length);
            assertArrayEquals(expectedDescrBytes, actualDescrBytes);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Encode the full message to set headerStart
            request.encode(buffer, headerStart);
    
            // Then - verify the body was written correctly
            byte[] pathBytes = TEST_PATH.getBytes(StandardCharsets.UTF_16LE);
    
            // Verify structure size (9)
            assertEquals(9, SMBUtil.readInt2(buffer, bodyOffset));
    
            // Verify tree flags (0)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacSignatureTest.java

            // Create PacSignature
            PacSignature pacSignature = new PacSignature(data);
    
            // Verify
            assertEquals(PacSignature.KERB_CHECKSUM_HMAC_MD5, pacSignature.getType());
            assertArrayEquals(checksum, pacSignature.getChecksum());
        }
    
        /**
         * Test constructor with HMAC_SHA1_96_AES128 type.
         *
         * @throws IOException if an I/O error occurs
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(encoding.encode(decoded.getBytes(UTF_8))).isEqualTo(encoded);
      }
    
      private static void testEncodesWithOffset(
          BaseEncoding encoding, String decoded, int offset, int len, String encoded) {
        assertThat(encoding.encode(decoded.getBytes(UTF_8), offset, len)).isEqualTo(encoded);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/Pac.java

                log.trace(String.format("Checksum data %s type %d signature %s", Hexdump.toHexString(checksumData),
                        this.serverSignature.getType(), Hexdump.toHexString(this.serverSignature.getChecksum())));
            }
    
            byte checksum[] = PacMac.calculateMac(this.serverSignature.getType(), keys, checksumData);
            if (!MessageDigest.isEqual(this.serverSignature.getChecksum(), checksum)) {
                if (log.isDebugEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

            byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            AvChannelBindings avChannelBindings = new AvChannelBindings(testHash);
    
            assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings");
            assertArrayEquals(testHash, avChannelBindings.getRaw(), "Value should match the provided hash");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

         * a modular-<abbr>JAR</abbr> if it is intended to be placed on the module path,
         * a <abbr>JAR</abbr> containing test classes, <i>etc.</i>
         *
         * @see DependencyCoordinates#getType()
         */
        @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.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbConstants.java

         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code>
         * represents is a server.
         */
        int TYPE_SERVER = 0x04;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code>
         * represents is a share.
         */
        int TYPE_SHARE = 0x08;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

                    SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC, SmbConstants.FILE_WRITE_DATA,
                    SmbConstants.DEFAULT_SHARING);
    
            byte[] data1 = "Hello ".getBytes();
            byte[] data2 = "World".getBytes();
    
            // When
            outputStream.write(data1);
            outputStream.write(data2);
    
            // Then - verify two write requests were sent
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        @Override
        public void setVersion(String version) {
            this.version = version;
            setBaseVersionInternal(version);
            versionRange = null;
        }
    
        @Override
        public String getType() {
            return type;
        }
    
        @Override
        public void setFile(File file) {
            this.file = file;
        }
    
        @Override
        public File getFile() {
            return file;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top