Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,733 for set1 (0.18 sec)

  1. tests/test_invalid_path_param.py

                pass  # pragma: no cover
    
    
    def test_invalid_simple_set():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            @app.get("/items/{id}")
            def read_items(id: set):
                pass  # pragma: no cover
    
    
    def test_invalid_simple_dict():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            @app.get("/items/{id}")
            def read_items(id: dict):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jun 03 17:59:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  2. cmd/xl-storage_noatime_supported.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"os"
    	"syscall"
    )
    
    var (
    	// Disallow updating access times
    	// Add non-block to avoid syscall to attempt to set epoll on files.
    	readMode = os.O_RDONLY | 0x40000 | syscall.O_NONBLOCK // O_NOATIME
    
    	// Write with data sync only used only for `xl.meta` writes
    	writeMode = 0x1000 | syscall.O_NONBLOCK // O_DSYNC
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 16:36:24 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. docker-buildx.sh

    #!/bin/bash
    
    sudo sysctl net.ipv6.conf.all.disable_ipv6=0
    
    remote=$(git remote get-url upstream)
    if test "$remote" != "******@****.***:minio/minio.git"; then
    	echo "Script requires that the 'upstream' remote is set to ******@****.***:minio/minio.git"
    	exit 1
    fi
    
    git remote update upstream && git checkout master && git rebase upstream/master
    
    release=$(git describe --abbrev=0 --tags)
    
    docker buildx build --push --no-cache \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 14:06:17 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/CollectionFuture.java

        @RetainedLocalRef List<@Nullable Present<V>> localValues = values;
        if (localValues != null) {
          localValues.set(index, new Present<>(returnValue));
        }
      }
    
      @Override
      final void handleAllCompleted() {
        @RetainedLocalRef List<@Nullable Present<V>> localValues = values;
        if (localValues != null) {
          set(combine(localValues));
        }
      }
    
      @Override
      void releaseResources(ReleaseResourcesReason reason) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         *
         * <ul>
         *   <li>If {@link #MODULES} path type is also set, then the dependency can be placed either on the
         *       class-path or on the module-path, but only one of those. The choice is up to the plugin,
         *       possibly using heuristic rules (Maven 3 behavior).</li>
         *   <li>If a {@link #patchModule(String)} is also set and the main JAR file is placed on the module-path,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

        private String url;
        private SmbAuthException sae;
    
        private void reset() {
            url = null;
            sae = null;
        }
    
    /**
    Set the default <tt>NtlmAuthenticator</tt>. Once the default authenticator is set it cannot be changed. Calling this metho again will have no effect.
     */
    
        public synchronized static void setDefault( NtlmAuthenticator a ) {
            if( auth != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    	cleanUpFns []func()
    	once       sync.Once
    }
    
    // WithCleanupFuncs sets additional cleanup functions to be called when closing
    // the GetObjectReader.
    func (g *GetObjectReader) WithCleanupFuncs(fns ...func()) *GetObjectReader {
    	g.cleanUpFns = append(g.cleanUpFns, fns...)
    	return g
    }
    
    // NewGetObjectReaderFromReader sets up a GetObjectReader with a given
    // reader. This ignores any object properties.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ListsTest.java

        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
    
        Iterator<List<Integer>> iterator = partitions.iterator();
    
        // Changes before the partition is retrieved are reflected
        list.set(1, 4);
    
        List<Integer> first = iterator.next();
    
        // Changes after are too (unlike Iterables.partition)
        list.set(2, 5);
    
        assertEquals(asList(3, 4, 5), first);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ListsTest.java

        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
    
        Iterator<List<Integer>> iterator = partitions.iterator();
    
        // Changes before the partition is retrieved are reflected
        list.set(1, 4);
    
        List<Integer> first = iterator.next();
    
        // Changes after are too (unlike Iterables.partition)
        list.set(2, 5);
    
        assertEquals(asList(3, 4, 5), first);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental.h

                                               TF_Status* s);
    
    // Create an operation suitable to use with the provided context. The operation
    // requires its type (e.g. "AddV2") to be set independently.
    TF_AbstractOp* TF_NewAbstractOp(TF_ExecutionContext* ctx);
    void TF_DeleteAbstractOp(TF_AbstractOp*);
    
    // TODO(srbs): Add APIs for specifying attrs etc.
    // `op_type` must outlive `op`.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sun Oct 24 11:27:00 UTC 2021
    - 7K bytes
    - Viewed (0)
Back to top