Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 277 for setBytes (0.12 sec)

  1. src/main/java/jcifs/smb1/util/MimeMap.java

            int state, t, x, i, off;
            byte ch;
            final byte[] type = new byte[128];
            final byte[] buf = new byte[16];
            final byte[] ext = extension.toLowerCase().getBytes("ASCII");
    
            state = ST_START;
            t = x = i = 0;
            for (off = 0; off < inLen; off++) {
                ch = in[off];
                switch (state) {
                case ST_START:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                update(data, offset, length);
                System.arraycopy(digest(), 0, data, index, 8);
                if (bypass) {
                    bypass = false;
                    System.arraycopy("BSRSPYL ".getBytes(), 0, data, index, 8);
                }
            } catch (final Exception ex) {
                if (LogStream.level > 0) {
                    ex.printStackTrace(log);
                }
            } finally {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

                        outputFile.createNewFile();
                    }
                    // Write some dummy content to simulate actual thumbnail
                    Files.write(outputFile.toPath(), ("thumbnail-" + thumbnailId).getBytes());
                    return true;
                } catch (IOException e) {
                    return false;
                }
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. docs/smb3-features/01-smb3-lease-design.md

            
            writeInt4(buffer, offset + 12, dataOffset - offset);  // DataOffset
            
            // Write context name
            System.arraycopy(getName().getBytes(), 0, buffer, offset + 16, getName().length());
            
            // Write lease data
            System.arraycopy(leaseKey.getKey(), 0, buffer, dataOffset, 16);  // LeaseKey
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            File propFile = File.createTempFile("project", ".properties");
            propFile.deleteOnExit();
            try (FileOutputStream fos = new FileOutputStream(propFile)) {
                fos.write("fess.version=1.0.0".getBytes());
            }
    
            // Initialize SystemHelper
            SystemHelper systemHelper = new SystemHelper() {
                @Override
                protected void parseProjectProperties(final java.nio.file.Path propPath) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CurlHelper.java

                final String value = username + ":" + password;
                final String basicAuth = "Basic " + java.util.Base64.getEncoder().encodeToString(value.getBytes(StandardCharsets.UTF_8));
                request.header("Authorization", basicAuth);
            }
            if (sslSocketFactory != null) {
                request.sslSocketFactory(sslSocketFactory);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                // no password in tree connect
                dst[dstIndex++] = (byte) 0x00;
            }
            dstIndex += writeString(path, dst, dstIndex);
            try {
                System.arraycopy(service.getBytes("ASCII"), 0, dst, dstIndex, service.length());
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
            dstIndex += service.length();
            dst[dstIndex] = (byte) '\0';
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                responseData.setMethod("GET");
                responseData.setMimeType("text/html");
                responseData.setParentUrl("http://fess.codelibs.org/");
                responseData.setResponseBody(data.getBytes());
                responseData.setSessionId("test-1");
                responseData.setStatus(0);
                responseData.setUrl("http://fess.codelibs.org/test.html");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

            // Setup system properties for DI container
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
            FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
            ComponentUtil.register(systemProps, "systemProperties");
    
            sambaHelper = new SambaHelper();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top