Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1631 - 1640 of 3,287 for objets (0.07 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/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)
  9. cmd/bitrot.go

    		if err != nil {
    			// Read's failed for object with right size, file is corrupt.
    			return err
    		}
    		// Subtract hash length..
    		left -= int64(n)
    		if left < shardSize {
    			shardSize = left
    		}
    
    		read, err := io.CopyBuffer(h, io.LimitReader(r, shardSize), *bufp)
    		if err != nil {
    			// Read's failed for object with right size, at different offsets.
    			return errFileCorrupt
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 19:26:13 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody
    import okio.BufferedSink
    
    class PostStreaming {
      private val client = OkHttpClient()
    
      fun run() {
        val requestBody =
          object : RequestBody() {
            override fun contentType() = MEDIA_TYPE_MARKDOWN
    
            override fun writeTo(sink: BufferedSink) {
              sink.writeUtf8("Numbers\n")
              sink.writeUtf8("-------\n")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top