Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for alternating (0.25 sec)

  1. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            byte[] allZeros = new byte[16];
            byte[] allOnes = new byte[16];
            Arrays.fill(allOnes, (byte) 0xFF);
            byte[] alternating = new byte[16];
            for (int i = 0; i < alternating.length; i++) {
                alternating[i] = (byte) (i % 2 == 0 ? 0xAA : 0x55);
            }
    
            RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            }
    
            @Test
            @DisplayName("Should handle special offset patterns")
            void testSpecialOffsetPatterns() {
                // Given - alternating bit pattern
                long pattern1 = 0xAAAAAAAAAAAAAAAAL;
                long pattern2 = 0x5555555555555555L;
                int pattern3 = 0xDEADBEEF;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            Arrays.fill(onesFileId, (byte) 0xFF);
            Smb2FlushRequest onesRequest = new Smb2FlushRequest(mockConfig, onesFileId);
            testFileIdInRequest(onesRequest, onesFileId);
    
            // Test with alternating pattern
            byte[] alternatingFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                alternatingFileId[i] = (byte) (i % 2 == 0 ? 0xAA : 0x55);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            Arrays.fill(onesFileId, (byte) 0xFF);
            Smb2CloseRequest onesRequest = new Smb2CloseRequest(mockConfig, onesFileId, testFileName);
            testFileIdInRequest(onesRequest, onesFileId);
    
            // Test with alternating pattern
            byte[] alternatingFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                alternatingFileId[i] = (byte) (i % 2 == 0 ? 0xAA : 0x55);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                assertEquals(Integer.MAX_VALUE, SMBUtil.readInt4(buffer, chunkStart + 16));
            }
    
            @Test
            @DisplayName("Should handle alternating bit pattern in source key")
            void testSourceKeyAlternatingPattern() {
                // Given
                byte[] patternKey = new byte[SOURCE_KEY_SIZE];
                for (int i = 0; i < SOURCE_KEY_SIZE; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                            buf.append(bodyPart.getContent().toString()).append(' ');
                        } else if (bodyPart.isMimeType("multipart/alternative") && bodyPart.getContent() instanceof Multipart) {
                            final Multipart alternativePart = (Multipart) bodyPart.getContent();
                            for (int j = 0; j < alternativePart.getCount(); j++) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

         * @return the embedded file, or null if not found
         */
        protected PDEmbeddedFile getEmbeddedFile(final PDComplexFileSpecification fileSpec) {
            // search for the first available alternative of the embedded file
            PDEmbeddedFile embeddedFile = null;
            if (fileSpec != null) {
                embeddedFile = fileSpec.getEmbeddedFileUnicode();
                if (embeddedFile == null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                try {
                    ChannelInfo alternativeChannel = manager.getLoadBalancer().selectChannel(op);
                    alternativeChannel.addPendingOperation(op);
                    // Operation would be resent on alternative channel
                    // For now, skip actual send implementation
                } catch (Exception e) {
                    log.error("Failed to redistribute operation", e);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/PropertyConfiguration.java

            }
    
            value = props.getProperty("jcifs.native.os");
            if (value != null) {
                this.nativeOs = value;
            }
    
            // Also support the alternative property name used in tests
            value = props.getProperty("jcifs.smb.client.nativeOs");
            if (value != null) {
                this.nativeOs = value;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
                if (socket != null) {
                    socket.close();
                    socket = null;
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top