Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 406 for getByte (0.22 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

    class TransTransactNamedPipeTest {
    
        @Mock
        private Configuration mockConfig;
    
        private static final int TEST_FID = 0x1234;
        private static final byte[] TEST_DATA = "Test pipe data".getBytes(StandardCharsets.UTF_8);
        private static final int TEST_OFFSET = 0;
        private static final int TEST_LENGTH = TEST_DATA.length;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

                            * fessConfig.getThumbnailHtmlImageThumbnailWidthAsInteger().floatValue() / width);
                    final BufferedImage thumbnail = new BufferedImage(thumbnailWidth, thumbnailHeight, image.getType());
                    thumbnail.getGraphics()
                            .drawImage(image.getScaledInstance(thumbnailWidth, thumbnailHeight, Image.SCALE_AREA_AVERAGING), 0, 0,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                // no password in tree connect
                dst[dstIndex++] = (byte) 0x00;
            }
            dstIndex += writeString(this.path, dst, dstIndex);
            try {
                System.arraycopy(this.service.getBytes("ASCII"), 0, dst, dstIndex, this.service.length());
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
            dstIndex += this.service.length();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            DefaultArtifact clone = new DefaultArtifact(
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    range,
                    artifact.getScope(),
                    artifact.getType(),
                    artifact.getClassifier(),
                    artifact.getArtifactHandler(),
                    artifact.isOptional());
            clone.setRelease(artifact.isRelease());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

         * @param timestamp the file timestamp
         */
        public ProtwordsFile(final String id, final String path, final Date timestamp) {
            super(id, path, timestamp);
        }
    
        @Override
        public String getType() {
            return PROTWORDS;
        }
    
        @Override
        public String getPath() {
            return path;
        }
    
        @Override
        public synchronized OptionalEntity<ProtwordsItem> get(final long id) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/FieldUtil.java

            } catch (final IllegalArgumentException e) {
                final Class<?> clazz = field.getDeclaringClass();
                final Class<?> fieldClass = field.getType();
                final Class<?> valueClass = value == null ? null : value.getClass();
                final Class<?> targetClass = target == null ? field.getDeclaringClass() : target.getClass();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

        private static final String USER_REALM = "EXAMPLE.COM";
        private static final int ENCRYPTION_TYPE = 23; // aes128-cts-hmac-sha1-96
        private static final byte[] ENCRYPTED_DATA = "encrypted-data".getBytes();
    
        @BeforeEach
        void setUp() {
            keys = new KerberosKey[] { kerberosKey };
        }
    
        /**
         * Creates a byte array representing a Kerberos ticket for testing purposes.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            Encdec.enc_doublebe(v, tmp, 0);
            write(tmp, 0, 8);
        }
    
        @Override
        public final void writeBytes(final String s) throws SmbException {
            final byte[] b = s.getBytes();
            write(b, 0, b.length);
        }
    
        @Override
        public final void writeChars(final String s) throws SmbException {
            final int clen = s.length();
            final int blen = 2 * clen;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

         * @param string
         * @return null terminated ASCII bytes
         */
        private static byte[] toCBytes(final String string) {
            final byte[] data = new byte[string.length() + 1];
            System.arraycopy(string.getBytes(StandardCharsets.US_ASCII), 0, data, 0, string.length());
            return data;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

            if (this.fileName == null) {
                SMBUtil.writeInt2(0, dst, fnOffsetOffset);
                SMBUtil.writeInt2(0, dst, fnLengthOffset);
            } else {
                final byte[] fnBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE);
                SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, fnOffsetOffset);
                SMBUtil.writeInt2(fnBytes.length, dst, fnLengthOffset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top