Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 2,799 for Create (0.67 sec)

  1. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

        }
    
        @Test
        @DisplayName("Options map is not mutated by configuration (verify no writes)")
        void optionsMap_notMutated_verifyNoWrites() {
            // Arrange: create a regular map first, then spy on it
            Map<String, Object> originalMap = new HashMap<>();
            originalMap.put("refreshKrb5Config", "true");
    
            @SuppressWarnings("unchecked")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. PULL_REQUESTS_ETIQUETTE.md

       - Multiple reviewers are encouraged for complex PRs.
    
    5. **No Self-Edits**:
       - Don’t modify the PR directly (e.g., fixing bugs). Request changes from the submitter or create a follow-up PR.
       - If you edit, you’re a collaborator, not a reviewer, and cannot merge.
    
    6. **Testing**:
       - Assume the submitter tested the code. If testing is unclear, ask for details (e.g., “How was this tested?”).
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun May 25 16:32:03 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/Subscriber.java

     * class). This property is used to ensure that no subscriber method is registered more than once.
     *
     * @author Colin Decker
     */
    class Subscriber {
    
      /** Creates a {@code Subscriber} for {@code method} on {@code listener}. */
      static Subscriber create(EventBus bus, Object listener, Method method) {
        return isDeclaredThreadSafe(method)
            ? new Subscriber(bus, listener, method)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            // Session starts with usage count > 0
            assertTrue(session.isInUse(), "Session should be in use initially");
    
            // Create and release trees
            SmbTreeImpl tree = session.getSmbTree("share1", null);
            assertNotNull(tree, "Tree should be created");
            tree.release();
    
            // Release the session (back to initial state)
            session.release();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/NumberConcatenationFilterFactory.java

                }
            } else {
                suffixWords = new CharArraySet(0, false);
            }
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            return new NumberConcatenationFilter(tokenStream, suffixWords);
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         */
        SettableFuture<@Nullable Void> newFuture = SettableFuture.create();
    
        ListenableFuture<@Nullable Void> oldFuture = ref.getAndSet(newFuture);
    
        // Invoke our task once the previous future completes.
        TrustedListenableFutureTask<T> taskFuture = TrustedListenableFutureTask.create(task);
        oldFuture.addListener(taskFuture, taskExecutor);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNull() {
        Collection<E> elements = getSampleElements(getNumElements() - 1);
        elements.add(null);
    
        collection = getSubjectGenerator().create(elements.toArray());
        assertTrue(
            "A Set should equal any other Set containing the same elements,"
                + " even if some elements are null.",
            getSet().equals(MinimalSet.from(elements)));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                        4))
            .expect(1.0, 1.0, 2.0, 3.0);
      }
    
      public void testMultisetsSpliterator() {
        Multiset<String> multiset = TreeMultiset.create();
        multiset.add("a", 3);
        multiset.add("b", 1);
        multiset.add("c", 2);
    
        List<String> actualValues = new ArrayList<>();
        multiset.spliterator().forEachRemaining(actualValues::add);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java

      @J2ktIncompatible
      @AndroidIncompatible // test-suite builders
      public static class ImmutableEnumMapGenerator extends TestEnumMapGenerator {
        @Override
        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = new HashMap<>();
          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java

      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testEquals_containingNull() {
        Collection<E> elements = getSampleElements(getNumElements() - 1);
        elements.add(null);
    
        collection = getSubjectGenerator().create(elements.toArray());
        assertTrue(
            "A Set should equal any other Set containing the same elements,"
                + " even if some elements are null.",
            getSet().equals(MinimalSet.from(elements)));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top