Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 301 for 0300 (0.11 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

                buffer[16 + i] = expectedData[i];
            }
    
            // Set header values
            SMBUtil.writeInt4(0x100, buffer, 0);
            SMBUtil.writeInt4(0x200, buffer, 4);
            SMBUtil.writeInt4(0x300, buffer, 8);
            SMBUtil.writeInt4(0x400, buffer, 12);
    
            // Decode
            response.decode(buffer, 0, 32);
    
            // Verify data integrity
            byte[] actualData = response.getData();
    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/pac/kerberos/KerberosApRequestTest.java

            v.add(new DERTaggedObject(true, 1, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_AP_REQ))));
            v.add(new DERTaggedObject(true, 2, new DERBitString(new byte[] { 0x00 })));
            ASN1Sequence seq = new DERSequence(v);
    
            // Act + Assert
            PACDecodingException ex = assertThrows(PACDecodingException.class, () -> new KerberosApRequest(seq, null));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/UUIDTest.java

                assertEquals((byte) 0xCC, uuid.node[2]);
                assertEquals((byte) 0xDD, uuid.node[3]);
                assertEquals((byte) 0xEE, uuid.node[4]);
                assertEquals((byte) 0x00, uuid.node[5]); // Missing data defaults to 0
            }
    
            @Test
            @DisplayName("Constructor with empty node array in rpc.uuid_t should handle gracefully")
            void testConstructorWithEmptyNode() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SecurityBlobTest.java

    class SecurityBlobTest {
    
        // Parameter source for toString() hex rendering cases
        static Stream<Arguments> hexCases() {
            return Stream.of(Arguments.of(new byte[] {}, ""), Arguments.of(new byte[] { (byte) 0x00 }, "00"),
                    Arguments.of(new byte[] { (byte) 0x0F }, "0f"), Arguments.of(new byte[] { (byte) 0x10 }, "10"),
                    Arguments.of(new byte[] { (byte) 0xAB }, "ab"),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        testRotate(new char[] {'1', '2', '3', '4', '5'}, 6, new char[] {'5', '1', '2', '3', '4'});
      }
    
      public void testRotateIndexed() {
        testRotate(new char[] {}, 0, 0, 0, new char[] {});
    
        testRotate(new char[] {'1'}, 0, 0, 1, new char[] {'1'});
        testRotate(new char[] {'1'}, 1, 0, 1, new char[] {'1'});
        testRotate(new char[] {'1'}, 1, 1, 1, new char[] {'1'});
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/ResourceManagerTest.java

            resourceManager.registerResource(resource);
    
            assertFalse(resource.isClosed());
    
            // Wait for automatic cleanup to kick in
            Thread.sleep(300);
    
            // Perform cleanup
            resourceManager.performCleanup();
    
            // Old resource should be auto-closed
            assertTrue(resource.isClosed());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SmbCircuitBreaker.java

         *
         * @return success rate as percentage (0-100)
         */
        private double calculateSuccessRate() {
            long total = totalRequests.get();
            if (total == 0) {
                return 100.0;
            }
            return (totalSuccesses.get() * 100.0) / total;
        }
    
        /**
         * Calculate availability
         *
         * @return availability as percentage (0-100)
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/LmhostsTest.java

            File lmhostsFile = tempDir.resolve("lmhosts_ip_components").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("0.0.0.0 HOST1\n");
                writer.write("127.0.0.1 HOST2\n");
                writer.write("192.168.255.255 HOST3\n");
                writer.write("10.20.30.40 HOST4\n");
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

                        return null;
                    }
                    return (long) Encdec.dec_uint64le(this.sbuf, 28);
                }
    
                if (this.sbuf[0] == (byte) 0x00 && this.sbuf[1] == (byte) 0x00 && this.sbuf[4] == (byte) 0xFF && this.sbuf[5] == (byte) 'S'
                        && this.sbuf[6] == (byte) 'M' && this.sbuf[7] == (byte) 'B') {
                    break; /* all good (SMB) */
                }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            int headerStart = 50;
    
            // Set structure size to 9
            SMBUtil.writeInt2(9, buffer, bufferIndex);
            // Set buffer offset (relative to header start)
            SMBUtil.writeInt2(300, buffer, bufferIndex + 2);
            // Set buffer length
            SMBUtil.writeInt4(0, buffer, bufferIndex + 4);
    
            response = spy(response);
            when(response.getHeaderStart()).thenReturn(headerStart);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
Back to top