Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 4,655 for news (0.02 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        AbstractFuture<String> future = new AbstractFuture<String>() {};
        WaiterThread waiter = new WaiterThread(future);
        waiter.start();
        waiter.awaitWaiting();
        PollingThread poller = new PollingThread(future);
        poller.start();
        PollingThread poller2 = new PollingThread(future);
        poller2.start();
        PollingThread poller3 = new PollingThread(future);
        poller3.start();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

     */
    class DfsReferralResponseBufferTest {
    
        private DfsReferralResponseBuffer buffer;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            buffer = new DfsReferralResponseBuffer();
        }
    
        @Nested
        @DisplayName("Constructor and Initial State Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should initialize with null referrals")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

      private final ForwardingWrapperTester tester = new ForwardingWrapperTester();
    
      public void testGoodForwarder() {
        tester.testForwarding(
            Arithmetic.class,
            new Function<Arithmetic, Arithmetic>() {
              @Override
              public Arithmetic apply(Arithmetic arithmetic) {
                return new ForwardingArithmetic(arithmetic);
              }
            });
        tester.testForwarding(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java

            String[] loggerNames = { "test.logger", "another.logger" };
            ErrorToWarnRewritePolicy policy = new ErrorToWarnRewritePolicy(loggerNames);
    
            assertNotNull(policy);
        }
    
        public void test_rewrite_with_null_logger_name() {
            String[] loggerNames = { "test.logger" };
            ErrorToWarnRewritePolicy policy = new ErrorToWarnRewritePolicy(loggerNames);
    
            LogEvent event =
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java

    public final class CertificatePinning {
      private final OkHttpClient client = new OkHttpClient.Builder()
          .certificatePinner(
              new CertificatePinner.Builder()
                  .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=")
                  .build())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/robots.txt")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Dec 08 21:30:01 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

         */
        protected final Object inLock = new Object();
        /**
         * Lock object for synchronizing output operations
         */
        protected final Object outLock = new Object();
    
        /**
         * Map for tracking pending responses by their key
         */
        protected final Map<Long, Response> response_map = new ConcurrentHashMap<>(10);
        private final AtomicLong usageCount = new AtomicLong(1);
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1234, OWNER_SECURITY_INFORMATION);
            byte[] buffer = new byte[100];
    
            int result = querySecurityDesc.readParametersWireFormat(buffer, 10, 50);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readDataWireFormat returns zero")
        void testReadDataWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

      @BeforeExperiment
      protected void setUp() {
        BitSet bitSet = new BitSet();
        for (int i = 0; i < OLD_WHITESPACE_TABLE.length(); i++) {
          bitSet.set(OLD_WHITESPACE_TABLE.charAt(i));
        }
        bitSet.clear(0);
        bitSet.clear(1);
        matcher = useNew ? CharMatcher.whitespace() : OLD_WHITESPACE;
        teststring = newTestString(new Random(1), bitSet, percentMatching);
      }
    
      @Benchmark
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            WebApiException exception = new WebApiException(statusCode, message);
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
        }
    
        public void test_nestedExceptions() {
            // Test nested exceptions
            Exception innerCause = new IllegalArgumentException("Invalid argument");
            Exception middleCause = new RuntimeException("Runtime error", innerCause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            BeanUtil.copyBeanToBean(src, dest, converter(new DateConverter("yyyy/MM/dd")));
            System.out.println(dest.aaa);
            assertThat(dest.aaa, is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopy_beanToMap() throws Exception {
            final MyBean src = new MyBean();
            src.aaa = "aaa";
            final BeanMap dest = new BeanMap();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
Back to top