Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 2,008 for new (0.03 sec)

  1. src/test/java/jcifs/smb1/util/Base64Test.java

            return Stream.of(Arguments.of(new byte[0], ""), Arguments.of(new byte[] { (byte) 0x41 }, "QQ=="), // "A"
                    Arguments.of(new byte[] { (byte) 0x41, (byte) 0x42 }, "QUI="), // "AB"
                    Arguments.of("Man".getBytes(), "TWFu"), // 3 bytes, no padding
                    Arguments.of(new byte[] { (byte) 0x00, (byte) 0x00, (byte) 0x00 }, "AAAA"), // all zeros
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/context/BaseContext.java

            this.config = config;
            this.dfs = new DfsImpl(this);
            this.sidResolver = new SIDCacheImpl(this);
            this.urlHandler = new Handler(this);
            this.nameServiceClient = new NameServiceClientImpl(this);
            this.bufferCache = new BufferCacheImpl(this.config);
            this.transportPool = new SmbTransportPoolImpl();
            final String defUser = config.getDefaultUsername();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            SimpleCircuitBreaker breaker = new SimpleCircuitBreaker("concurrent", 5, 3, 100);
            AtomicInteger successCount = new AtomicInteger(0);
            AtomicInteger failureCount = new AtomicInteger(0);
    
            // Create multiple threads
            Thread[] threads = new Thread[10];
            for (int i = 0; i < threads.length; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/LmhostsTest.java

            // Modify file with a delay to ensure different lastModified time
            Thread.sleep(100);
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168.1.200 NEWHOST\n");
            }
    
            // Should reload file and find new host
            result = lmhosts.getByName("NEWHOST", mockContext);
            assertNotNull(result);
    
            // Old host should not be found
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NetworkExplorerTest.java

        @BeforeEach
        void setUp() throws Exception {
            // Setup response writers
            stringWriter = new StringWriter();
            printWriter = new PrintWriter(stringWriter);
            outputStream = new ByteArrayOutputStream();
    
            servletOutputStream = new ServletOutputStream() {
                @Override
                public void write(int b) throws IOException {
                    outputStream.write(b);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            ASN1EncodableVector authVector = new ASN1EncodableVector();
            ASN1EncodableVector elementVector = new ASN1EncodableVector();
            elementVector.add(new DERTaggedObject(0, new ASN1Integer(1))); // authType
            elementVector.add(new DERTaggedObject(1, new DEROctetString(new byte[] { 0x01, 0x02 }))); // authData
            authVector.add(new DERSequence(elementVector));
    
            byte[] token = new DERSequence(authVector).getEncoded();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/transport/TransportException.java

    public class TransportException extends IOException {
    
        /** The root cause exception */
        private Throwable rootCause;
    
        /**
         * Constructs a new TransportException with no detail message.
         */
        public TransportException() {
        }
    
        /**
         * Constructs a new TransportException with the specified detail message.
         *
         * @param msg the detail message
         */
        public TransportException(final String msg) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        private final AtomicLong connectionsCreated = new AtomicLong();
        private final AtomicLong connectionsActive = new AtomicLong();
        private final AtomicLong memoryRegionsAllocated = new AtomicLong();
        private final AtomicLong memoryRegionsActive = new AtomicLong();
    
        // Timing statistics (in nanoseconds)
        private final AtomicLong totalReadTime = new AtomicLong();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

                    NullPointerException.class,
                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. docs/smb3-features/01-smb3-lease-design.md

    ```java
    public class LeaseStatistics {
        private final AtomicLong leasesRequested = new AtomicLong();
        private final AtomicLong leasesGranted = new AtomicLong();
        private final AtomicLong leaseBreaks = new AtomicLong();
        private final AtomicLong leaseUpgrades = new AtomicLong();
        private final AtomicLong leaseDowngrades = new AtomicLong();
        
        // Getters and increment methods
    }
    ```
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top