Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1181 - 1190 of 6,205 for newA (0.43 seconds)

  1. src/test/java/org/codelibs/fess/suggest/util/MapValueExtractorTest.java

        @Test
        public void testGetString_withStringValue() {
            Map<String, Object> map = new HashMap<>();
            map.put("key", "value");
    
            assertEquals("value", MapValueExtractor.getString(map, "key"));
        }
    
        @Test
        public void testGetString_withNullValue() {
            Map<String, Object> map = new HashMap<>();
            map.put("key", null);
    
            assertNull(MapValueExtractor.getString(map, "key"));
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

                        public @Nullable String[] foo(String bar) { return new String[] {bar, null}; }
                    }
                """,
                v2 = """
                    public class Source {
                        public final String[] finalField = new String[] {"bar"};
                        public String[] foo(String bar) { return new String[] {bar}; }
                    }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu May 15 17:05:08 GMT 2025
    - 18K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        super.setUp();
    
        emptyAccumulator = new StatsAccumulator();
    
        emptyAccumulatorByAddAllEmptyIterable = new StatsAccumulator();
        emptyAccumulatorByAddAllEmptyIterable.addAll(ImmutableList.<Double>of());
    
        emptyAccumulatorByAddAllEmptyStats = new StatsAccumulator();
        emptyAccumulatorByAddAllEmptyStats.addAll(Stats.of());
    
        oneValueAccumulator = new StatsAccumulator();
        oneValueAccumulator.add(ONE_VALUE);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            mockAuth.password = "testpass";
    
            when(mockAuth.getAnsiHash(any(byte[].class))).thenReturn(new byte[24]);
            when(mockAuth.getUnicodeHash(any(byte[].class))).thenReturn(new byte[24]);
            when(mockAuth.getName()).thenReturn("testuser");
            when(mockAuth.getDomain()).thenReturn("TESTDOMAIN");
    
            setupAndX = new SmbComSessionSetupAndX(mockSession, mockAndx, mockAuth);
        }
    
        @Test
        void testConstructor() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/Striped64.java

      /** Generator of new random hash codes */
      static final Random rng = new Random();
    
      /** Number of CPUS, to place bound on table size */
      static final int NCPU = Runtime.getRuntime().availableProcessors();
    
      /** Table of cells. When non-null, size is a power of 2. */
      transient volatile Cell @Nullable [] cells;
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

    public class Crc32cHashFunctionTest extends TestCase {
      public void testEmpty() {
        assertCrc(0, new byte[0]);
      }
    
      public void testZeros() {
        // Test 32 byte array of 0x00.
        byte[] zeros = new byte[32];
        assertCrc(0x8a9136aa, zeros);
      }
    
      public void testZeros100() {
        // Test 100 byte array of 0x00.
        byte[] zeros = new byte[100];
        assertCrc(0x07cb9ff6, zeros);
      }
    
      public void testFull() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItemTest.java

            final StemmerOverrideItem stemmerOverrideItem1 = new StemmerOverrideItem(1, "aaa", "a");
    
            assertTrue(stemmerOverrideItem1.equals(stemmerOverrideItem1));
            assertTrue(stemmerOverrideItem1.equals(new StemmerOverrideItem(1, "aaa", "a")));
            assertTrue(stemmerOverrideItem1.equals(new StemmerOverrideItem(2, "aaa", "a")));
            assertFalse(stemmerOverrideItem1.equals(new StemmerOverrideItem(1, "aaa", "b")));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

        @Test
        public void test_multipleCreatorInstances() {
            FessConfig config = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
            };
    
            FessMailDeliveryDepartmentCreator creator1 = new FessMailDeliveryDepartmentCreator(config);
            FessMailDeliveryDepartmentCreator creator2 = new FessMailDeliveryDepartmentCreator(config);
    
            assertNotNull(creator1);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

            String lastUpdated;
    
            if (metadata.getVersioning() == null) {
                DateFormat utcDateFormatter = new SimpleDateFormat(DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT);
                utcDateFormatter.setCalendar(new GregorianCalendar());
                utcDateFormatter.setTimeZone(DEFAULT_SNAPSHOT_TIME_ZONE);
    
                snapshot = new Snapshot();
                snapshot.setBuildNumber(buildNumber != null ? buildNumber : getBuildNumber(recessive) + 1);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        AtomicBoolean interruptedExceptionThrown = new AtomicBoolean();
        CountDownLatch enterLatch = new CountDownLatch(1);
        CountDownLatch exitLatch = new CountDownLatch(1);
        TrustedListenableFutureTask<Integer> task =
            TrustedListenableFutureTask.create(
                () -> {
                  enterLatch.countDown();
                  try {
                    new CountDownLatch(1).await(); // wait forever
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.5K bytes
    - Click Count (0)
Back to Top