Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3951 - 3960 of 4,519 for Signal (0.1 seconds)

  1. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

         * Tests a simple round‑trip encode → decode retains the original value.
         */
        @Test
        @DisplayName("Basic round‑trip for a fixed value")
        public void testEncodeRoundTrip() throws NdrException {
            final long original = 0x1122334455667788L;
            NdrHyper hyper = new NdrHyper(original);
            // Create buffer with extra space for alignment
            NdrBuffer buf = new NdrBuffer(new byte[16], 0);
            hyper.encode(buf);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

    /**
     * Decrypts passwords in the settings.
     *
     * @deprecated since 4.0.0
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultSettingsDecrypter implements SettingsDecrypter {
        private final SecDispatcher securityDispatcher;
    
        @Inject
        public DefaultSettingsDecrypter(MavenSecDispatcher securityDispatcher) {
            this.securityDispatcher = securityDispatcher;
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Nov 16 13:55:43 GMT 2024
    - 6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

    /**
     * Tests for {@link AtomicLongMap}.
     *
     * @author mike nonemacher
     */
    @GwtCompatible
    @NullUnmarked
    public class AtomicLongMapTest extends TestCase {
      private static final int ITERATIONS = 100;
      private static final int MAX_ADDEND = 100;
    
      private final Random random = new Random(301);
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        NullPointerTester tester = new NullPointerTester();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

    import jcifs.internal.util.SMBUtil;
    
    @ExtendWith(MockitoExtension.class)
    class SrvCopychunkCopyTest {
    
        private static final int SOURCE_KEY_SIZE = 24;
        private static final int HEADER_SIZE = 32; // 24 bytes source key + 4 bytes chunk count + 4 bytes reserved
        private static final int CHUNK_SIZE = 24;
    
        @Mock
        private SrvCopychunk mockChunk;
    
        @BeforeEach
        void setUp() {
        }
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

     */
    @SuppressWarnings("deprecation") // tests of deprecated method
    @NullUnmarked
    public class CacheExpirationTest extends TestCase {
    
      private static final long EXPIRING_TIME = 1000;
      private static final int VALUE_PREFIX = 12345;
      private static final String KEY_PREFIX = "key prefix:";
    
      public void testExpiration_expireAfterWrite() {
        FakeTicker ticker = new FakeTicker();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/SmbTransportPoolTest.java

        private Address address;
    
        @Mock
        private SmbTransport transport;
    
        @Mock
        private InetAddress localAddr;
    
        private static final int DEFAULT_PORT = 445;
        private static final String TEST_HOST = "test.server.com";
        private static final int LOCAL_PORT = 12345;
    
        @BeforeEach
        void setUp() {
            // Common setup for all tests
        }
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

     */
    @NullUnmarked
    public class BloomFilterTest extends TestCase {
      private static final int NUM_PUTS = 100_000;
      private static final ThreadLocal<Random> random =
          new ThreadLocal<Random>() {
            @Override
            protected Random initialValue() {
              return new Random();
            }
          };
    
      private static final int GOLDEN_PRESENT_KEY = random.get().nextInt();
    
      @AndroidIncompatible // OutOfMemoryError
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
  8. docs/features/https.md

                println(CertificatePinner.pin(certificate))
              }
            }
          }
        ```
    === ":material-language-java: Java"
        ```java
          private final OkHttpClient client = new OkHttpClient.Builder()
              .certificatePinner(
                  new CertificatePinner.Builder()
                      .add("publicobject.com", "sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Stopwatch.java

     *        }
     *      });
     * }
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    @SuppressWarnings("GoodTime") // lots of violations
    public final class Stopwatch {
      private final Ticker ticker;
      private boolean isRunning;
      private long elapsedNanos;
      private long startTick;
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

    /**
     * Tests for UnsignedLongs
     *
     * @author Brian Milch
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullUnmarked
    public class UnsignedLongsTest extends TestCase {
      private static final long LEAST = 0L;
      private static final long GREATEST = 0xffffffffffffffffL;
    
      public void testCompare() {
        // max value
        assertThat(UnsignedLongs.compare(0, 0xffffffffffffffffL)).isLessThan(0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top