Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2171 - 2180 of 4,648 for new1 (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java

      public void testForEachUnknownOrder() {
        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
        Helpers.assertEqualIgnoringOrder(asList(createSamplesArray()), elements);
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testForEachKnownOrder() {
        List<E> elements = new ArrayList<>();
        collection.forEach(elements::add);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testToArray_tooSmall() {
        Object[] actual = getList().toArray(new Object[0]);
        assertArrayEquals("toArray(tooSmall) order should match list", createOrderedArray(), actual);
      }
    
      public void testToArray_largeEnough() {
        Object[] actual = getList().toArray(new Object[getNumElements()]);
        assertArrayEquals("toArray(largeEnough) order should match list", createOrderedArray(), actual);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

        @Mock
        private Principal mockPrincipal;
    
        private NtlmHttpServletRequest ntlmRequest;
    
        @BeforeEach
        void setUp() {
            // Create a new NtlmHttpServletRequest with mocked dependencies before each test
            ntlmRequest = new NtlmHttpServletRequest(mockRequest, mockPrincipal);
        }
    
        /**
         * Test method for {@link NtlmHttpServletRequest#getRemoteUser()}.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java

                }
    
                @Override
                public ExtendedPluginDescriptor build() {
                    return new ExtendedPluginDescriptor(this);
                }
            }
        }
    
        @Test
        void testExtendedPluginDescriptor() {
            ExtendedPluginDescriptor.Builder builder = new ExtendedPluginDescriptor.Builder();
            // make sure to call the subclasses' builder methods first, otherwise fluent API would not work
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            when(transport.isSMB2()).thenThrow(new SmbException("negotiation missing"));
            assertFalse(handle.isSMB2());
        }
    
        @Test
        @DisplayName("Null treeConnection throws NPE")
        void constructorNullTreeConnection() {
            // Null treeConnection throws NPE when acquire() is called
            assertThrows(NullPointerException.class, () -> new SmbTreeHandleImpl(resourceLoc, null));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

        //                                         Actually Crud
        //                                         -------------
        /**
         * Creates a new role item.
         *
         * @param form the create form containing the new item data
         * @return HTML response redirecting to the list page after creation
         */
        @Execute
        @Secured({ ROLE })
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileAuthenticationBhv.java

                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        protected <RESULT extends FileAuthentication> RESULT updateEntity(Map<String, Object> source, RESULT result) {
            return result;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/Escapers.java

          // This can replace an existing character (the builder is re-usable).
          replacementMap.put(c, replacement);
          return this;
        }
    
        /** Returns a new escaper based on the current state of the builder. */
        public Escaper build() {
          return new ArrayBasedCharEscaper(replacementMap, safeMin, safeMax) {
            private final char @Nullable [] replacementChars =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

        void testConcurrentLogging() throws InterruptedException {
            int threadCount = 10;
            int eventsPerThread = 100;
            Thread[] threads = new Thread[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
                final int threadId = i;
                threads[i] = new Thread(() -> {
                    for (int j = 0; j < eventsPerThread; j++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        for (ImmutableList<Class<?>> sig : allSignatures(Object.class)) {
          Method checkArgumentMethod =
              Preconditions.class.getMethod("checkNotNull", sig.toArray(new Class<?>[] {}));
          checkArgumentMethod.invoke(
              null /* static method */, getParametersForSignature(new Object(), sig));
    
          Object[] failingParams = getParametersForSignature(null, sig);
          InvocationTargetException ite =
              assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top