Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addParams (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    				Writes(producedObject)
    			if isGetterWithOptions {
    				if err := AddObjectParams(ws, route, versionedGetOptions); err != nil {
    					return nil, nil, err
    				}
    			}
    			addParams(route, action.Params)
    			routes = append(routes, route)
    		case "LIST": // List all resources of a kind.
    			doc := "list objects of kind " + kind
    			if isSubresource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    	var (
    		arch   *asmArch
    		fn     *asmFunc
    		offset int
    	)
    
    	// addParams adds asmVars for each of the parameters in list.
    	// isret indicates whether the list are the arguments or the return values.
    	// TODO(adonovan): simplify by passing (*types.Signature).{Params,Results}
    	// instead of list.
    	addParams := func(list []*ast.Field, isret bool) {
    		argnum := 0
    		for _, fld := range list {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. src/go/parser/parser.go

    	var names []*ast.Ident
    	var typ ast.Expr
    	addParams := func() {
    		assert(typ != nil, "nil type in named parameter list")
    		field := &ast.Field{Names: names, Type: typ}
    		params = append(params, field)
    		names = nil
    	}
    	for _, par := range list {
    		if par.typ != typ {
    			if len(names) > 0 {
    				addParams()
    			}
    			typ = par.typ
    		}
    		names = append(names, par.name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert.go

    		}
    
    		switch {
    		case isValueKind(kind):
    			addParam(result, tag, omitempty, field)
    		case kind == reflect.Array || kind == reflect.Slice:
    			if isValueKind(ft.Elem().Kind()) {
    				addListOfParams(result, tag, omitempty, field)
    			}
    		case isStructKind(kind) && !(zeroValue(field) && omitempty):
    			if marshalValue, ok := customMarshalValue(field); ok {
    				addParam(result, tag, omitempty, marshalValue)
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

        @Test
        public void searchTestWithOrOperation() throws Exception {
            String query = "java OR public";
    
            Map<String, String> andParams = new HashMap<>();
            andParams.put("q", query.replace("OR", "AND"));
            String andResponse = checkMethodBase(new HashMap<>()).params(andParams).get("/api/v1/documents").asString();
            int andRecordCount = JsonPath.from(andResponse).getInt("record_count");
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top