Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of about 10,000 for recur1 (0.27 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator.go

    		ac.Event.Level = auditinternal.LevelMetadata
    
    		record.resp, record.ok, record.err = a.authenticator.AuthenticateToken(ctx, token)
    		record.annotations = ac.Event.Annotations
    		record.warnings = recorder.extractWarnings()
    
    		if !a.cacheErrs && record.err != nil {
    			return record, nil
    		}
    
    		switch {
    		case record.ok && a.successTTL > 0:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. internal/s3select/sql/aggregation.go

    	return err
    }
    
    func (e *AliasedExpression) aggregateRow(r Record, tableAlias string) error {
    	return e.Expression.aggregateRow(r, tableAlias)
    }
    
    func (e *Expression) aggregateRow(r Record, tableAlias string) error {
    	for _, ex := range e.And {
    		err := ex.aggregateRow(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. test/fixedbugs/issue59680.go

    			select {
    			case <-stop:
    				b.v = v
    				return
    			case <-time.After(1 * time.Millisecond):
    				r, err := b.f()
    				if err != nil {
    					panic("bad")
    				}
    				v = r
    			}
    		}
    	}()
    	return stop
    }
    
    var S, G int
    
    //go:noinline
    func rec(x int) int {
    	if x == 0 {
    		return 9
    	}
    	return rec(x-1) + 1
    }
    
    //go:noinline
    func recur(x int) {
    	for i := 0; i < x; i++ {
    		G = rec(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 21:04:38 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/note.go

    	copy(hash[:], h)
    	return Tree{n, hash}, nil
    }
    
    var errMalformedRecord = errors.New("malformed record data")
    
    // FormatRecord formats a record for serving to a client
    // in a lookup response or data tile.
    //
    // The encoded form is the record ID as a single number,
    // then the text of the record, and then a terminating blank line.
    // Record text must be valid UTF-8 and must not contain any ASCII control
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 29 20:10:15 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/authentication/token/tokenfile/tokenfile.go

    			continue
    		}
    
    		obj := &user.DefaultInfo{
    			Name: record[1],
    			UID:  record[2],
    		}
    		if _, exist := tokens[record[0]]; exist {
    			klog.Warningf("duplicate token has been found in token file '%s', record number '%d'", path, recordNum)
    		}
    		tokens[record[0]] = obj
    
    		if len(record) >= 4 {
    			obj.Groups = strings.Split(record[3], ",")
    		}
    	}
    
    	return &TokenAuthenticator{
    		tokens: tokens,
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  6. internal/s3select/sql/statement.go

    			for i, val := range v {
    				tmpRec := input.Clone(nil)
    				if err = tmpRec.Replace(val); err != nil {
    					return nil, err
    				}
    				recs[i] = &tmpRec
    			}
    			return recs, nil
    
    		default:
    			input.Reset()
    			input, err = input.Set("_1", &Value{value: v})
    			if err != nil {
    				return nil, err
    			}
    		}
    		return []*Record{&input}, nil
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 09 17:19:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. internal/s3select/sql/evaluate.go

    		if err != nil {
    			return nil, err
    		}
    		return FromBytes(bs), nil
    	case []Value:
    		return FromArray(rval), nil
    	case nil:
    		return FromNull(), nil
    	case Missing:
    		return FromMissing(), nil
    	}
    	return nil, fmt.Errorf("Unhandled value type: %T", result)
    }
    
    func (e *PrimaryTerm) evalNode(r Record, tableAlias string) (res *Value, err error) {
    	switch {
    	case e.Value != nil:
    		return e.Value.evalNode(r)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 12K bytes
    - Viewed (0)
  8. internal/config/dns/etcd_dns.go

    		if err != nil {
    			return nil, err
    		}
    		// Make sure we have record.Key is empty
    		// this can only happen when record.Key
    		// has bucket entry with exact prefix
    		// match any record.Key which do not
    		// match the prefixes we skip them.
    		for _, record := range records {
    			if record.Key != "" {
    				continue
    			}
    			srvRecords = append(srvRecords, record)
    		}
    	}
    	if len(srvRecords) == 0 {
    		return nil, ErrNoEntriesFound
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  9. tests/transaction_test.go

    			t.Fatalf("Should find saved record")
    		}
    		return nil
    	}); err != nil {
    		t.Fatalf("no error should return, but got %v", err)
    	}
    
    	if err := DB.First(&User{}, "name = ?", user.Name).Error; err != nil {
    		t.Fatalf("Should find saved record")
    	}
    
    	if err := DB.First(&User{}, "name = ?", user1.Name).Error; err == nil {
    		t.Fatalf("Should not find rollbacked record")
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_function.cc

        return;
      }
    
      tensorflow::mutex_lock l(g->mu);
      status->status = g->graph.AddFunctionDef(func->record->fdef(),
                                               func->record->stack_traces());
      if (TF_GetCode(status) != TF_OK) return;
      if (!grad) return;
    
      status->status = g->graph.AddFunctionDef(grad->record->fdef(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top