Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4461 - 4470 of 4,820 for if (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

     * [event listener factory][OkHttpClient.eventListenerFactory].
     *
     * The format of the logs created by this class should not be considered stable and may change
     * slightly between releases. If you need a stable logging format, use your own event listener.
     */
    class LoggingEventListener private constructor(
      private val logger: HttpLoggingInterceptor.Logger,
    ) : EventListener() {
      private var startNs: Long = 0
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            apiFailureHook = new FessApiFailureHook();
            originalFessConfig = ComponentUtil.getFessConfig();
        }
    
        @Override
        public void tearDown() throws Exception {
            if (originalFessConfig != null) {
                ComponentUtil.setFessConfig(originalFessConfig);
            }
            super.tearDown();
        }
    
        // Test basic initialization
        public void test_hookInitialization() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

      // Using remainder here does not give us a uniform distribution but it should
      // not have a big impact on the measurement.
      private static long randomDivisor(long dividend) {
        long r = randomSource.nextLong();
        if (dividend == -1) {
          return r;
        } else {
          return UnsignedLongs.remainder(r, dividend + 1);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DosError.java

     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb;
    
    /**
     * Interface defining DOS error codes and their mappings to NT status codes.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.notify;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top