Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for flts (0.32 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    		{think: 0, pad: time.Second, finalSeats: 1, conc: 2, nClients: 1},
    		{think: 0, pad: time.Second, finalSeats: 2, conc: 2, nClients: 1, exp: flts(0.5)},
    		{think: 0, pad: time.Second, finalSeats: 1, conc: 1, nClients: 2, exp: flts(0.25, 0.25)},
    		{think: 0, pad: time.Second, finalSeats: 1, conc: 2, nClients: 2, exp: flts(0.5, 0.5)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    				Value: buildPatchStruct(`
    					{"transport_socket":{
    						"name":"transport_sockets.alts",
    						"typed_config":{
    							"@type":"type.googleapis.com/udpa.type.v1.TypedStruct",
                  "type_url": "type.googleapis.com/envoy.extensions.transport_sockets.alts.v3.Alts",
    							"value":{"handshaker_service":"1.2.3.4"}}}}`),
    			},
    		},
    		// Patch custom TLS type to a FC without TLS already set
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    	}{
    		{
    			pod: &v1.Pod{},
    			nodeInfo: framework.NewNodeInfo(
    				newResourcePod(framework.Resource{MilliCPU: 10, Memory: 20})),
    			name:                      "no resources requested always fits",
    			wantInsufficientResources: []InsufficientResource{},
    		},
    		{
    			pod: newResourcePod(framework.Resource{MilliCPU: 1, Memory: 1}),
    			nodeInfo: framework.NewNodeInfo(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  4. src/go/types/expr.go

    				goto Error
    			}
    			if len(e.Elts) == 0 {
    				break
    			}
    			// Convention for error messages on invalid struct literals:
    			// we mention the struct type only if it clarifies the error
    			// (e.g., a duplicate field error doesn't need the struct type).
    			fields := utyp.fields
    			if _, ok := e.Elts[0].(*ast.KeyValueExpr); ok {
    				// all elements must have keys
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

            nouts = node.args[6].value
            # TODO(mdan): Look at the actual types out of if_body.
            side_effects = {
                qual_names.QN(n.value): {TFRTypes.TENSOR}
                for n in node.args[5].elts[:nouts]
            }
            return {type(None)}, side_effects
    
          if name == QN(QN('ag__'), attr='for_stmt'):
            assert isinstance(node.args[2], ast.Name)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  6. src/go/printer/nodes.go

    		p.exprList(x.Lbrace, x.Elts, 1, commaTerm, x.Rbrace, x.Incomplete)
    		// do not insert extra line break following a /*-style comment
    		// before the closing '}' as it might break the code if there
    		// is no trailing ','
    		mode := noExtraLinebreak
    		// do not insert extra blank following a /*-style comment
    		// before the closing '}' unless the literal is empty
    		if len(x.Elts) > 0 {
    			mode |= noExtraBlank
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				frameworkruntime.WithLogger(logger),
    			)
    			if err != nil {
    				t.Fatal(err)
    			}
    			pl := DefaultPreemption{fh: f, fts: test.fts}
    			if got, _ := pl.PodEligibleToPreemptOthers(test.pod, test.nominatedNodeStatus); got != test.expected {
    				t.Errorf("expected %t, got %t for pod: %s", test.expected, got, test.pod.Name)
    			}
    		})
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  8. src/go/printer/testdata/parser.go

    	if p.trace {
    		defer un(trace(p, "LiteralValue"))
    	}
    
    	lbrace := p.expect(token.LBRACE)
    	var elts []ast.Expr
    	p.exprLev++
    	if p.tok != token.RBRACE {
    		elts = p.parseElementList()
    	}
    	p.exprLev--
    	rbrace := p.expect(token.RBRACE)
    	return &ast.CompositeLit{typ, lbrace, elts, rbrace}
    }
    
    // checkExpr checks that x is an expression (and not a type).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  9. src/go/parser/parser.go

    		defer un(trace(p, "LiteralValue"))
    	}
    
    	lbrace := p.expect(token.LBRACE)
    	var elts []ast.Expr
    	p.exprLev++
    	if p.tok != token.RBRACE {
    		elts = p.parseElementList()
    	}
    	p.exprLev--
    	rbrace := p.expectClosing(token.RBRACE, "composite literal")
    	return &ast.CompositeLit{Type: typ, Lbrace: lbrace, Elts: elts, Rbrace: rbrace}
    }
    
    func (p *parser) parsePrimaryExpr(x ast.Expr) ast.Expr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/riscv/obj.go

    func Split32BitImmediate(imm int64) (low, high int64, err error) {
    	if err := immIFits(imm, 32); err != nil {
    		return 0, 0, err
    	}
    
    	// Nothing special needs to be done if the immediate fits in 12 bits.
    	if err := immIFits(imm, 12); err == nil {
    		return imm, 0, nil
    	}
    
    	high = imm >> 12
    
    	// The bottom 12 bits will be treated as signed.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top