Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 165 for 5002 (0.78 sec)

  1. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            // Prepare test data with sectPerAlloc = 1
            byte[] buffer = new byte[22];
            int idFileSystem = 0x11111111;
            int sectPerAlloc = 1;
            long alloc = 1000L;
            long free = 500L;
            int bytesPerSect = 512;
    
            // Encode test data
            int offset = 0;
            SMBUtil.writeInt4(idFileSystem, buffer, offset);
            offset += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            System.out.printf("  Avg atomic operation time: %.2f ns%n", avgOpTimeNs);
    
            // Verify lock-free performance (allowing for JVM overhead)
            assertTrue(avgOpTimeNs < 5000, "Atomic operations should be reasonably fast (no lock contention)");
            assertEquals(threadCount * operationsPerThread, operations.get());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

    import java.util.StringTokenizer;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.Hexdump;
    import jcifs.smb1.util.LogStream;
    
    class NameServiceClient implements Runnable {
    
        static final int DEFAULT_SO_TIMEOUT = 5000;
        static final int DEFAULT_RCV_BUF_SIZE = 576;
        static final int DEFAULT_SND_BUF_SIZE = 576;
        static final int NAME_SERVICE_UDP_PORT = 137;
        static final int DEFAULT_RETRY_COUNT = 2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmHttpFilter.java

    /* jcifs smb client library in Java
     * Copyright (C) 2002  "Michael B. Allen" <jcifs at samba dot org>
     *                   "Jason Pugsley" <jcifs at samba dot org>
     *                   "skeetz" <jcifs at samba dot org>
     *                   "Eric Glass" <jcifs at samba dot org>
     *                   and Marcel, Thomas, ...
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                byte[] largeBuffer = new byte[1024];
    
                int encoded = context.encode(largeBuffer, 0);
                assertEquals(2 + 200, encoded); // 2 for count + 100*2 for ciphers
    
                EncryptionNegotiateContext decoded = new EncryptionNegotiateContext();
                try {
                    int decodedSize = decoded.decode(largeBuffer, 0, encoded);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. docs/site-replication/run-replication-with-checksum-header.sh

    export MC_HOST_minio1=https://minio:minio123@localhost:9001
    export MC_HOST_minio2=https://minio:minio123@localhost:9002
    
    ./mc ready minio1 --insecure
    ./mc ready minio2 --insecure
    
    # Prepare data for tests
    echo -n "Preparing test data ..."
    mkdir -p /tmp/data
    echo "Hello World" >/tmp/data/obj
    touch /tmp/data/mpartobj
    shred -s 500M /tmp/data/mpartobj
    echo "done"
    
    # Add replication site
    ./mc admin replicate add minio1 minio2 --insecure
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type2Message.java

    /* jcifs smb client library in Java
     * Copyright (C) 2002  "Michael B. Allen" <jcifs at samba dot org>
     *                 "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals((byte) 0x00, getFieldValue(netServerEnum2, "maxSetupCount"));
            assertEquals(0, getFieldValue(netServerEnum2, "setupCount"));
            assertEquals(5000, getFieldValue(netServerEnum2, "timeout"));
        }
    
        @Test
        @DisplayName("Test constructor with empty domain")
        void testConstructorEmptyDomain() {
            String domain = "";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportImplTest.java

                assertNotNull(hash1);
                assertEquals(64, hash1.length, "SHA-512 size");
    
                byte[] hash2 = transport.calculatePreauthHash(new byte[] { 50 }, 0, 1, hash1);
                assertNotNull(hash2);
                assertEquals(64, hash2.length);
                assertNotEquals(new String(hash1), new String(hash2), "Chained hash should differ");
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. internal/kms/kms.go

    }
    
    var defaultLatencyBuckets = []time.Duration{
    	10 * time.Millisecond,
    	50 * time.Millisecond,
    	100 * time.Millisecond,
    	250 * time.Millisecond,
    	500 * time.Millisecond,
    	1000 * time.Millisecond, // 1s
    	1500 * time.Millisecond,
    	3000 * time.Millisecond,
    	5000 * time.Millisecond,
    	10000 * time.Millisecond, // 10s
    }
    
    // KMS is a connection to a key management system.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 24 15:33:57 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top