Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 175 for Content (0.16 sec)

  1. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Event should be available.", EVENT, handler.context.getEvent());
        assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber());
        assertEquals(
            "Method should be available.",
            subscriber.getClass().getMethod("throwExceptionOn", String.class),
            handler.context.getSubscriberMethod());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Event should be available.", EVENT, handler.context.getEvent());
        assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber());
        assertEquals(
            "Method should be available.",
            subscriber.getClass().getMethod("throwExceptionOn", String.class),
            handler.context.getSubscriberMethod());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultiset.java

        final Multiset<E> contents;
    
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableMultiset#builder}.
         */
        public Builder() {
          this(LinkedHashMultiset.<E>create());
        }
    
        Builder(Multiset<E> contents) {
          this.contents = contents;
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableList.java

        }
    
        private void getReadyToExpandTo(int minCapacity) {
          if (contents.length < minCapacity) {
            this.contents = Arrays.copyOf(contents, expandedCapacity(contents.length, minCapacity));
            forceCopy = false;
          } else if (forceCopy) {
            contents = Arrays.copyOf(contents, contents.length);
            forceCopy = false;
          }
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  5. .github/workflows/ci.yml

    name: CI
    
    on:
      push:
        branches:
          - master
      pull_request:
        branches:
          - master
    
    permissions:
      contents: read
    
    jobs:
      test:
        permissions:
          actions: write  # for styfle/cancel-workflow-action to cancel/stop running workflows
          contents: read  # for actions/checkout to fetch code
        name: "${{ matrix.root-pom }} on JDK ${{ matrix.java }} on ${{ matrix.os }}"
        strategy:
          matrix:
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        builder.add(-1);
        Object[] prevArray = null;
        for (int i = 0; i < 10; i++) {
          builder.add(i);
          assertNotSame(builder.contents, prevArray);
          prevArray = builder.contents;
          ImmutableSet<Integer> unused = builder.build();
        }
      }
    
      @GwtIncompatible("Builder impl")
      public void testPresizedBuilderDedups() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRetainAllIgnoresCount() {
        initThreeCopies();
        List<E> contents = Helpers.copyToList(getMultiset());
        assertFalse(getMultiset().retainAll(Collections.singleton(e0())));
        expectContents(contents);
      }
    
      /**
       * Returns {@link Method} instances for the remove tests that assume multisets support duplicates
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetsTest.java

       * the set is the same as the ordering of the given contents.
       */
      private static <E> void verifyLinkedHashSetContents(
          LinkedHashSet<E> set, Collection<E> contents) {
        assertEquals(
            "LinkedHashSet should have preserved order for iteration",
            new ArrayList<E>(set),
            new ArrayList<E>(contents));
        verifySetContents(set, contents);
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteArrayDataOutput.java

       *     UTF-8, use {@code write(s.getBytes(StandardCharsets.UTF_8))}.
       */
      @Deprecated
      @Override
      void writeBytes(String s);
    
      /** Returns the contents that have been written to this instance, as a byte array. */
      byte[] toByteArray();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2K bytes
    - Viewed (0)
Back to top