Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 3,096 for objTest (0.04 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java

    import org.jspecify.annotations.Nullable;
    
    /** Never actually created; instead delegates to JdkBackedImmutableMultiset. */
    final class RegularImmutableMultiset<E> extends ImmutableMultiset<E> {
      static final ImmutableMultiset<Object> EMPTY =
          JdkBackedImmutableMultiset.create(ImmutableList.of());
    
      RegularImmutableMultiset() {}
    
      static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        Object[] builderArray = builder.alternatingKeysAndValues;
        for (int i = 0; i < 10; i++) {
          builder.put(i, i);
        }
        Object[] builderArrayAfterPuts = builder.alternatingKeysAndValues;
        RegularImmutableBiMap<Integer, Integer> map =
            (RegularImmutableBiMap<Integer, Integer>) builder.build();
        Object[] mapInternalArray = map.alternatingKeysAndValues;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/TestBiMapGenerator.java

    /**
     * Creates bimaps, containing sample entries, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public interface TestBiMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
        extends TestContainerGenerator<BiMap<K, V>, Entry<K, V>> {
      K[] createKeyArray(int length);
    
      V[] createValueArray(int length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       *
       * @return an array containing all of the elements in this queue
       */
      @CanIgnoreReturnValue
      @Override
      public Object[] toArray() {
        E[] items = this.items;
        Monitor monitor = this.monitor;
        monitor.enter();
        try {
          Object[] a = new Object[count];
          int k = 0;
          int i = takeIndex;
          while (k < count) {
            a[k++] = items[i];
            i = inc(i);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

                  return singleton("a").iterator();
                }
              });
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testIsEmpty_map() {
        Map<Object, Object> map = new HashMap<>();
        assertEmpty(map);
    
        map.put("a", "b");
        try {
          assertEmpty(map);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

                  return singleton("a").iterator();
                }
              });
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
      public void testIsEmpty_map() {
        Map<Object, Object> map = new HashMap<>();
        assertEmpty(map);
    
        map.put("a", "b");
        try {
          assertEmpty(map);
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/templates.md

    ## Using `Jinja2Templates` { #using-jinja2templates }
    
    * Import `Jinja2Templates`.
    * Create a `templates` object that you can reuse later.
    * Declare a `Request` parameter in the *path operation* that will return a template.
    * Use the `templates` you created to render and return a `TemplateResponse`, pass the name of the template, the request object, and a "context" dictionary with key-value pairs to be used inside of the Jinja2 template.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java

         * @param items    an array of suggest items to be written to the index
         * @param update   a boolean flag indicating whether to update existing items
         * @return a result object containing information about the write operation
         */
        SuggestWriterResult write(Client client, SuggestSettings settings, String index, SuggestItem[] items, boolean update);
    
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/EnumMultiset.java

        this.type = type;
        checkArgument(type.isEnum());
        this.enumConstants = type.getEnumConstants();
        this.counts = new int[enumConstants.length];
      }
    
      private boolean isActuallyE(@Nullable Object o) {
        if (o instanceof Enum) {
          Enum<?> e = (Enum<?>) o;
          int index = e.ordinal();
          return index < enumConstants.length && enumConstants[index] == e;
        }
        return false;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            Kerb5Authenticator nonAnon = new Kerb5Authenticator(new Subject());
            assertFalse(nonAnon.isAnonymous());
        }
    
        static Object[][] preferredMechData_nonAnonymous() {
            return new Object[][] { { Kerb5Context.SUPPORTED_MECHS[0], true }, { Kerb5Context.SUPPORTED_MECHS[1], true },
                    { new ASN1ObjectIdentifier("1.2.3.4.5"), false } };
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top