Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 82 for 15 (0.06 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

            }
    
            @ParameterizedTest
            @ValueSource(ints = { 1, 6 })
            @DisplayName("Returns 0 with valid array and various indices")
            void normalArray(int idx) {
                byte[] arr = new byte[15];
                assertEquals(0, response.readParameterWordsWireFormat(arr, idx));
            }
        }
    
        @Nested
        @DisplayName("readBytesWireFormat tests")
        class ReadBytes {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // parameterCount (4 bytes)
            SMBUtil.writeInt4(100, buffer, bufferIndex + 11);
    
            // parameterOffset (4 bytes)
            SMBUtil.writeInt4(64, buffer, bufferIndex + 15);
    
            // parameterDisplacement (4 bytes)
            SMBUtil.writeInt4(0, buffer, bufferIndex + 19);
    
            // dataCount (4 bytes)
            SMBUtil.writeInt4(200, buffer, bufferIndex + 23);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/HexdumpTest.java

            byte[] data1 = { 0x00, 0x01, 0x02, 0x03 };
            assertEquals("00", Hexdump.toHexString(data1, 0, 2)); // 2 chars = 1 byte
            assertEquals("000", Hexdump.toHexString(data1, 0, 3)); // 3 chars = 1.5 bytes (rounds up to 2)
            assertEquals("0001", Hexdump.toHexString(data1, 0, 4)); // 4 chars = 2 bytes
            assertEquals("000102", Hexdump.toHexString(data1, 0, 6)); // 6 chars = 3 bytes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Verify max parameter count (4 bytes at position 11)
            assertEquals(1024, SMBUtil.readInt4(dst, 11));
    
            // Verify max data count (4 bytes at position 15)
            assertEquals(2048, SMBUtil.readInt4(dst, 15));
    
            // Verify parameter count (4 bytes at position 19)
            assertEquals(50, SMBUtil.readInt4(dst, 19));
    
            // Verify parameter offset (4 bytes at position 23)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

                    "maxParameterCount should be written correctly");
            assertEquals(smbComNtTransaction.maxDataCount, SmbComTransaction.readInt4(dst, 15), "maxDataCount should be written correctly");
            assertEquals(smbComNtTransaction.parameterCount, SmbComTransaction.readInt4(dst, 19), "parameterCount should be written correctly");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

            final java.lang.reflect.Method method = CrawlerThread.class.getDeclaredMethod("isContinue", int.class);
            method.setAccessible(true);
            final boolean result = (boolean) method.invoke(crawlerThread, 15);
    
            assertFalse(result);
        }
    
        /**
         * Test isContinue method when max access count is reached.
         */
        public void test_isContinue_maxAccessCountReached() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NodeStatusResponse.java

                for (j = srcIndex + 14; src[j] == 0x20; j--) {
                    ;
                }
                n = Strings.fromOEMBytes(src, srcIndex, j - srcIndex + 1, this.config);
                hexCode = src[srcIndex + 15] & 0xFF;
                groupName = ((src[srcIndex + 16] & 0x80) == 0x80) == true;
                ownerNodeType = (src[srcIndex + 16] & 0x60) >> 5;
                isBeingDeleted = ((src[srcIndex + 16] & 0x10) == 0x10) == true;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. .github/workflows/maven.yml

        - "*.x"
      pull_request:
        branches:
        - master
        - "*.x"
      workflow_dispatch:
    
    jobs:
      build:
        runs-on: ubuntu-24.04
        env:
          PARENT_BRANCH: main
        timeout-minutes: 15
        steps:
        - uses: actions/checkout@v4
        - name: Set up JDK 21
          uses: actions/setup-java@v4
          with:
            java-version: '21'
            distribution: 'temurin'
        - uses: actions/cache@v4
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 06:47:15 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
                bb.putShort((short) 20); // pathConsumed
                bb.putShort((short) 1); // numReferrals
                bb.putShort((short) 15); // tflags
                bb.putShort((short) 0); // tflags high bytes
    
                // Simple v1 referral
                bb.putShort((short) 1); // version
                bb.putShort((short) 16); // size
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/UniAddress.java

                calledName = NbtAddress.SMBSERVER_NAME;
            } else {
                final int i = calledName.indexOf('.');
                if (i > 1 && i < 15) {
                    calledName = calledName.substring(0, i).toUpperCase();
                } else if (calledName.length() > 15) {
                    calledName = NbtAddress.SMBSERVER_NAME;
                } else {
                    calledName = calledName.toUpperCase();
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top