Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4471 - 4480 of 4,820 for If (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

                // Act
                Smb2LogoffResponse resp = req.createResponse(cifsContext, null);
    
                // Assert
                assertNotNull(resp, "Response should be created even if req is null");
                verify(cifsContext, times(1)).getConfig();
                verifyNoMoreInteractions(cifsContext);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

                Stream.of(DependencyScope.values()).collect(Collectors.toMap(s -> s.id, s -> s)));
    
        /**
         * {@return the dependency scope for the given identifier, or {@code null} if none}.
         * The identifiers are usually in lower cases with {@code '-'} instead of {@code '_'}
         * as word separator.
         *
         * @param id the identifier of the scope (case-sensitive)
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 19 14:33:26 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        sort(entries, sortedMultiset.comparator());
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = Multisets.immutableEntry(entries.get(0), sortedMultiset.count(entries.get(0)));
          if (entries.size() >= 3) {
            b = Multisets.immutableEntry(entries.get(1), sortedMultiset.count(entries.get(1)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        /* Map must have at least one entry if not an EnumBiMap. */
        assertThrows(
            IllegalArgumentException.class,
            () -> EnumBiMap.create(Collections.<Currency, Country>emptyMap()));
        assertThrows(
            IllegalArgumentException.class,
            () -> EnumBiMap.create(EnumHashBiMap.<Currency, Country>create(Currency.class)));
    
        /* Map can be empty if it's an EnumBiMap. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            C unfiltered = createUnfiltered(contents);
            C filtered = filter(unfiltered, EVEN);
    
            Iterator<Integer> filteredItr = filtered.iterator();
            for (Integer i : unfiltered) {
              if (EVEN.apply(i)) {
                assertTrue(filteredItr.hasNext());
                assertEquals(i, filteredItr.next());
              }
            }
            assertFalse(filteredItr.hasNext());
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmHttpFilterTest.java

                @Override
                protected NtlmPasswordAuthentication negotiate(HttpServletRequest req, HttpServletResponse resp, boolean skipAuthentication)
                        throws IOException, ServletException {
                    if (skipAuthentication) {
                        return null;
                    }
                    return super.negotiate(req, resp, skipAuthentication);
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

                // expected
                assertTrue(e.getMessage().contains("Not found the classification: null"));
            } catch (NullPointerException e) {
                // Also acceptable if null is not handled explicitly
            }
        }
    
        public void test_findOnMainSchema_alwaysReturnsNull() {
            // Since the implementation always returns null (no DBFlute classification used),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            // Verify the stack trace contains this test method
            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
                if (element.getMethodName().equals("test_stackTrace")) {
                    foundTestMethod = true;
                    break;
                }
            }
            assertTrue(foundTestMethod);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

      }
    
      private static final class PrintingEventListener extends EventListener {
        long callStartNanos;
    
        private void printEvent(String name) {
          long nowNanos = System.nanoTime();
          if (name.equals("callStart")) {
            callStartNanos = nowNanos;
          }
          long elapsedNanos = nowNanos - callStartNanos;
          System.out.printf("%.3f %s%n", elapsedNanos / 1000000000d, name);
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

                  ?, ? extends OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>>>
              parentBuilder) {
        Set<Feature<?>> features = computeMultimapAsMapGetFeatures(parentBuilder.getFeatures());
        if (Collections.disjoint(features, EnumSet.allOf(CollectionSize.class))) {
          return new TestSuite();
        } else {
          return SetTestSuiteBuilder.using(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top