Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 7,250 for return (0.05 sec)

  1. internal/s3select/json/args.go

    	if err := d.DecodeElement(&parsedArgs, &start); err != nil {
    		return err
    	}
    
    	parsedArgs.ContentType = strings.ToLower(parsedArgs.ContentType)
    	switch parsedArgs.ContentType {
    	case document, lines:
    	default:
    		return errInvalidJSONType(fmt.Errorf("invalid ContentType '%v'", parsedArgs.ContentType))
    	}
    
    	*args = ReaderArgs(parsedArgs)
    	args.unmarshaled = true
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ///
    
    ```Python hl_lines="8  13"
    {!> ../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ////
    
    ### Return values
    
    And they can return values or not, the values won't be used.
    
    So, you can reuse a normal dependency (that returns a value) you already use somewhere else, and even though the value won't be used, the dependency will be executed:
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. internal/dsync/dsync-server_test.go

    	if err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    	}
    
    	if _, err = lh.lsrv.ForceUnlock(&args); err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    	}
    }
    
    func (lh *lockServerHandler) RefreshHandler(w http.ResponseWriter, r *http.Request) {
    	args, err := getLockArgs(r)
    	if err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    	}
    
    	reply, err := lh.lsrv.Refresh(&args)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableTable.java

          switch (size) {
            case 0:
              return of();
            case 1:
              return new SingletonImmutableTable<>(getOnlyElement(cells));
            default:
              return RegularImmutableTable.forCells(cells, rowComparator, columnComparator);
          }
        }
      }
    
      ImmutableTable() {}
    
      @Override
      public ImmutableSet<Cell<R, C, V>> cellSet() {
        return (ImmutableSet<Cell<R, C, V>>) super.cellSet();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingInfoParam.java

        private OptionalEntity<CrawlingInfo> crawlingInfo;
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. 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)
  7. src/archive/zip/struct.go

    		return int64(fi.fh.UncompressedSize64)
    	}
    	return int64(fi.fh.UncompressedSize)
    }
    func (fi headerFileInfo) IsDir() bool { return fi.Mode().IsDir() }
    func (fi headerFileInfo) ModTime() time.Time {
    	if fi.fh.Modified.IsZero() {
    		return fi.fh.ModTime()
    	}
    	return fi.fh.Modified.UTC()
    }
    func (fi headerFileInfo) Mode() fs.FileMode { return fi.fh.Mode() }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

                    saveError(messages -> messages.addErrorsSsoLoginError(GLOBAL));
                }
                return redirect(LoginAction.class);
            }
            if (loginCredential instanceof ActionResponseCredential) {
                return ((ActionResponseCredential) loginCredential).execute();
            }
            try {
                return fessLoginAssist.loginRedirect(loginCredential, op -> {}, () -> {
                    activityHelper.login(getUserBean());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TreeRangeMap.java

        @Override
        public Range<K> getKey() {
          return range;
        }
    
        @Override
        public V getValue() {
          return value;
        }
    
        public boolean contains(K value) {
          return range.contains(value);
        }
    
        Cut<K> getLowerBound() {
          return range.lowerBound;
        }
    
        Cut<K> getUpperBound() {
          return range.upperBound;
        }
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top