Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 3,648 for isobject (0.36 sec)

  1. guava-tests/test/com/google/common/base/SuppliersTest.java

        // it still should only have executed twice due to memoization
        assertEquals(2, countingSupplier.calls);
      }
    
      public void testOfInstanceSuppliesSameInstance() {
        Object toBeSupplied = new Object();
        Supplier<Object> objectSupplier = Suppliers.ofInstance(toBeSupplied);
        assertSame(toBeSupplied, objectSupplier.get());
        assertSame(toBeSupplied, objectSupplier.get()); // idempotent
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. docs_src/response_headers/tutorial002.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.get("/headers-and-object/")
    def get_headers(response: Response):
        response.headers["X-Cat-Dog"] = "alone in the world"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 222 bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

      }
    
      @Override
      public List<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TransformedIterator.java

    /**
     * An iterator that transforms a backing iterator; for internal use. This avoids the object overhead
     * of constructing a {@link com.google.common.base.Function Function} for internal methods.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class TransformedIterator<F extends @Nullable Object, T extends @Nullable Object>
        implements Iterator<T> {
      final Iterator<? extends F> backingIterator;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

            }
          };
    
      enum NullListener implements RemovalListener<Object, Object> {
        INSTANCE;
    
        @Override
        public void onRemoval(RemovalNotification<Object, Object> notification) {}
      }
    
      enum OneWeigher implements Weigher<Object, Object> {
        INSTANCE;
    
        @Override
        public int weigh(Object key, Object value) {
          return 1;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  6. cmd/erasure-decode_test.go

    // Copyright (c) 2015-2021 MinIO, Inc.
    //
    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

        private final Map<Object, RemoteSnapshotMetadata> snapshots;
    
        private final Date timestamp;
    
        private final Integer buildNumber;
    
        RemoteSnapshotMetadataGenerator(RepositorySystemSession session, DeployRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
            Object bn = ConfigUtils.getObject(session, null, "maven.buildNumber");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_files/test_tutorial002.py

    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

    public class NdrBuffer {
    
        private int referent;
        private Map<Object, Entry> referents;
    
        private static class Entry {
    
            public Entry ( int referent, Object obj ) {
                this.referent = referent;
                this.obj = obj;
            }
    
            final int referent;
    
            @SuppressWarnings ( "unused" )
            private final Object obj;
        }
    
        public byte[] buf;
        public int start;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/background-tasks.md

    It's still possible to use `BackgroundTask` alone in FastAPI, but you have to create the object in your code and return a Starlette `Response` including it.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:22:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top