Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1771 - 1780 of 7,014 for _return (0.1 sec)

  1. docs_src/sql_databases_peewee/sql_app/main.py

        if db_user:
            raise HTTPException(status_code=400, detail="Email already registered")
        return crud.create_user(user=user)
    
    
    @app.get("/users/", response_model=List[schemas.User], dependencies=[Depends(get_db)])
    def read_users(skip: int = 0, limit: int = 100):
        users = crud.get_users(skip=skip, limit=limit)
        return users
    
    
    @app.get(
        "/users/{user_id}", response_model=schemas.User, dependencies=[Depends(get_db)]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  2. cmd/config-migrate.go

    			if errors.Is(err, errConfigNotFound) {
    				return newServerCfg()
    			}
    			return nil, err
    		}
    
    		data, err = decryptData(data, configFile)
    		if err != nil {
    			return nil, err
    		}
    
    		newCfg, err := readServerConfig(GlobalContext, objAPI, data)
    		if err == nil {
    			return newCfg, nil
    		}
    
    		// Read older `.minio.sys/config/config.json`, if not
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingBlockingDeque.java

        return delegate().offerFirst(e, timeout, unit);
      }
    
      @Override
      public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerLast(e, timeout, unit);
      }
    
      @Override
      public E takeFirst() throws InterruptedException {
        return delegate().takeFirst();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

        BALANCED {
          @Override
          Optional<BinaryNode> createTree(int size, Random rng) {
            if (size == 0) {
              return Optional.absent();
            } else {
              int leftChildSize = (size - 1) / 2;
              int rightChildSize = size - 1 - leftChildSize;
              return Optional.of(
                  new BinaryNode(
                      rng.nextInt(), createTree(leftChildSize, rng), createTree(rightChildSize, rng)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 26 19:18:53 UTC 2019
    - 4.9K bytes
    - Viewed (0)
  5. cmd/sftp-server.go

    		if !globalIAMSys.LDAPConfig.Enabled() {
    			return nil, errSFTPLDAPNotEnabled
    		}
    		return processLDAPAuthentication(key, pass, user)
    	}
    
    	user, found = strings.CutSuffix(c.User(), "=svc")
    	if found {
    		goto internalAuth
    	}
    
    	if globalIAMSys.LDAPConfig.Enabled() {
    		perms, _ := processLDAPAuthentication(key, pass, user)
    		if perms != nil {
    			return perms, nil
    		}
    	}
    
    internalAuth:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. doc/go_mem.html

    </p>
    
    <p class="rule">
    A successful call to <code>l.TryLock</code> (or <code>l.TryRLock</code>)
    is equivalent to a call to <code>l.Lock</code> (or <code>l.RLock</code>).
    An unsuccessful call has no synchronizing effect at all.
    As far as the memory model is concerned,
    <code>l.TryLock</code> (or <code>l.TryRLock</code>)
    may be considered to be able to return false
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

            return request;
        }
    
        public boolean isOffline() {
            return offline;
        }
    
        public DefaultRepositoryRequest setOffline(boolean offline) {
            this.offline = offline;
    
            return this;
        }
    
        public boolean isForceUpdate() {
            return forceUpdate;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/pager/BadWordPager.java

        }
    
        protected int getDefaultCurrentPageNumber() {
            return DEFAULT_CURRENT_PAGE_NUMBER;
        }
    
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        public void setAllRecordCount(final int allRecordCount) {
            this.allRecordCount = allRecordCount;
        }
    
        public int getAllPageCount() {
            return allPageCount;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/pager/ElevateWordPager.java

        }
    
        protected int getDefaultCurrentPageNumber() {
            return DEFAULT_CURRENT_PAGE_NUMBER;
        }
    
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        public void setAllRecordCount(final int allRecordCount) {
            this.allRecordCount = allRecordCount;
        }
    
        public int getAllPageCount() {
            return allPageCount;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/LabelTypePager.java

        }
    
        protected int getDefaultCurrentPageNumber() {
            return DEFAULT_CURRENT_PAGE_NUMBER;
        }
    
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        public void setAllRecordCount(final int allRecordCount) {
            this.allRecordCount = allRecordCount;
        }
    
        public int getAllPageCount() {
            return allPageCount;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top