Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 6,241 for IF (0.03 sec)

  1. src/bytes/reader_test.go

    		n, err := r.Read(buf)
    		if err != tt.readerr {
    			t.Errorf("%d. read = %v; want %v", i, err, tt.readerr)
    			continue
    		}
    		got := string(buf[:n])
    		if got != tt.want {
    			t.Errorf("%d. got %q; want %q", i, got, tt.want)
    		}
    	}
    }
    
    func TestReadAfterBigSeek(t *testing.T) {
    	r := NewReader([]byte("0123456789"))
    	if _, err := r.Seek(1<<31+5, io.SeekStart); err != nil {
    		t.Fatal(err)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  2. helm-releases/minio-3.4.2.tgz

    Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic. Also, we can not use a single if because lazy evaluation is not an option */}} {{- if .Values.global }} {{- if .Values.global.imagePullSecrets }} imagePullSecrets: {{- range .Values.global.imagePullSecrets }} - name: {{ . }} {{- end }} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets }} {{- end -}} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 21 02:58:25 UTC 2021
    - 15.2K bytes
    - Viewed (0)
  3. fastapi/routing.py

                    current_tags = []
                    if tags:
                        current_tags.extend(tags)
                    if route.tags:
                        current_tags.extend(route.tags)
                    current_dependencies: List[params.Depends] = []
                    if dependencies:
                        current_dependencies.extend(dependencies)
                    if route.dependencies:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsFailureUrlCA.java

            FailureUrlCQ cq = new FailureUrlCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                FailureUrlCA ca = new FailureUrlCA();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  5. cmd/batch-handlers_gen.go

    				if z.KeyRotate == nil {
    					z.KeyRotate = new(BatchJobKeyRotateV1)
    				}
    				err = z.KeyRotate.DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "KeyRotate")
    					return
    				}
    			}
    		case "Expire":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Expire")
    					return
    				}
    				z.Expire = nil
    			} else {
    				if z.Expire == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. internal/jwt/parser.go

    		if len(key) == 0 {
    			return nil
    		}
    		switch key[0] {
    		case 'a':
    			if string(key) == "accessKey" {
    				if dataType != jsonparser.String {
    					return errors.New("accessKey: Expected string")
    				}
    				c.AccessKey, err = jsonparser.ParseString(value)
    				return err
    			}
    			if string(key) == "aud" {
    				if dataType != jsonparser.String {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/simple-oauth2.md

    We want to get the `current_user` *only* if this user is active.
    
    So, we create an additional dependency `get_current_active_user` that in turn uses `get_current_user` as a dependency.
    
    Both of these dependencies will just return an HTTP error if the user doesn't exist, or if is inactive.
    
    So, in our endpoint, we will only get a user if the user exists, was correctly authenticated, and is active:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. misc/cgo/gmp/gmp.go

    // and sets z to that value.  The base must be in the range [2,36].
    // SetString returns an error if s cannot be parsed or the base is invalid.
    func (z *Int) SetString(s string, base int) error {
    	z.doinit()
    	if base < 2 || base > 36 {
    		return os.ErrInvalid
    	}
    	p := C.CString(s)
    	defer C.free(unsafe.Pointer(p))
    	if C.mpz_set_str(&z.i[0], p, C.int(base)) < 0 {
    		return os.ErrInvalid
    	}
    	return nil
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsLabelTypeCQ.java

            if (mustQuery.hasQueries() || shouldQuery.hasQueries() || mustNotQuery.hasQueries() || filterQuery.hasQueries()) {
                BoolQueryBuilder builder = regBoolCQ(mustQuery.getQueryBuilderList(), shouldQuery.getQueryBuilderList(),
                        mustNotQuery.getQueryBuilderList(), filterQuery.getQueryBuilderList());
                if (opLambda != null) {
                    opLambda.callback(builder);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  10. helm-releases/minio-5.2.0.tgz

    purge." fi fi # Create the bucket if it does not exist and set objectlocking if enabled (NOTE: versioning will be not changed if OBJECTLOCKING is set because it enables versioning to the Buckets created) if ! checkBucketExists $BUCKET; then if [ ! -z $OBJECTLOCKING ]; then if [ $OBJECTLOCKING = true ]; then echo "Creating bucket with OBJECTLOCKING '$BUCKET'" ${MC} mb --with-lock myminio/$BUCKET elif [ $OBJECTLOCKING = false ]; then echo "Creating bucket '$BUCKET'" ${MC} mb myminio/$BUCKET fi elif...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Apr 28 10:14:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top