Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 2,510 for getS (0.01 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

                    (Integer) combination.get(0),
                    (Integer) combination.get(1),
                    (Integer) combination.get(2),
                    (DurationSpec) combination.get(3),
                    (DurationSpec) combination.get(4),
                    (DurationSpec) combination.get(5),
                    (Strength) combination.get(6),
                    (Strength) combination.get(7));
              }
            });
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertEquals((Character) 'a', table.get("foo", 1));
        assertEquals((Character) 'b', table.get("bar", 1));
        assertEquals((Character) 'c', table.get("foo", 3));
        assertThat(table.get("foo", 2)).isNull();
        assertThat(table.get("bar", 3)).isNull();
        assertThat(table.get("cat", 1)).isNull();
        assertThat(table.get("foo", null)).isNull();
        assertThat(table.get(null, 1)).isNull();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
            return new StringWriter(sz);
          }
        },
        STRING_BUILDER {
          @Override
          Appendable get(int sz) {
            return new StringBuilder(sz);
          }
        };
    
        abstract Appendable get(int sz);
      }
    
      @Param CopyStrategy strategy;
      @Param TargetSupplier target;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertThat(multimap.keySet()).containsExactly("a", "b", "c").inOrder();
        assertThat(multimap.values()).containsExactly(1, 3, 2, 4).inOrder();
        assertThat(multimap.get("a")).containsExactly(1, 3).inOrder();
        assertThat(multimap.get("b")).containsExactly(2);
        assertThat(multimap.get("c")).containsExactly(4);
      }
    
      public void testEmptyMultimapReads() {
        ImmutableListMultimap<String, Integer> multimap = ImmutableListMultimap.of();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmServiceTest.java

            assertNotNull(checksums);
            assertEquals(2, checksums.size());
            assertEquals("a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", checksums.get(service.select("SHA-1")));
            assertEquals("098f6bcd4621d373cade4e832627b4f6", checksums.get(service.select("MD5")));
        }
    
        @Test
        void calculateByteBuffer() throws IOException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 11:31:00 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

              }
            };
    
        cache.put(0, 10);
    
        assertThat(cache.get(0, loader)).isEqualTo(10);
        assertThat(cache.get(20, loader)).isEqualTo(1);
        assertThat(cache.get(34, loader)).isEqualTo(2);
    
        cache.invalidate(0);
        assertThat(cache.get(0, loader)).isEqualTo(3);
    
        cache.put(0, 10);
        cache.invalidateAll();
        assertThat(cache.get(0, loader)).isEqualTo(4);
      }
    
      @Test
      public void sizeConstraint() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheLoaderTest.java

        assertThat(loadCount.get()).isEqualTo(2);
        assertThat(reloadCount.get()).isEqualTo(1);
        assertThat(loadAllCount.get()).isEqualTo(2);
    
        executor.runNext();
        assertThat(loadCount.get()).isEqualTo(2);
        assertThat(reloadCount.get()).isEqualTo(2);
        assertThat(loadAllCount.get()).isEqualTo(2);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        public void testGet() throws Exception {
            assertThat(map.get("ONE"), is("1"));
            assertThat(map.get("One"), is("1"));
            assertThat(map.get("hoge"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPut() throws Exception {
            assertThat(map.put("One", "11"), is("1"));
            assertThat(map.get("one"), is("11"));
        }
    
        /**
         * @throws Exception
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CertificateChainCleanerTest.kt

            .serialNumber(2L)
            .build()
        assertThat(get(rootB.certificate, rootA.certificate))
          .isEqualTo(get(rootA.certificate, rootB.certificate))
      }
    
      @Test
      fun equalsFromTrustManager() {
        val handshakeCertificates = HandshakeCertificates.Builder().build()
        val x509TrustManager = handshakeCertificates.trustManager
        assertThat(get(x509TrustManager)).isEqualTo(get(x509TrustManager))
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 9.5K bytes
    - Viewed (1)
  10. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_SUCCESS), "Should have 1 authentication success event");
            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_FAILURE), "Should have 1 authentication failure event");
            assertEquals(Long.valueOf(1), stats.get(EventType.FILE_ACCESS), "Should have 1 file access event");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top