Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 111 for INT32 (0.06 sec)

  1. src/cmd/internal/obj/s390x/asmz.go

    			} else {
    				zRRF(op_SRK, uint32(p.From.Reg), 0, uint32(p.To.Reg), uint32(r), asm)
    			}
    		}
    
    	case 11: // br/bl
    		v := int32(0)
    
    		if p.To.Target() != nil {
    			v = int32((p.To.Target().Pc - p.Pc) >> 1)
    		}
    
    		if p.As == ABR && p.To.Sym == nil && int32(int16(v)) == v {
    			zRI(op_BRC, 0xF, uint32(v), asm)
    		} else {
    			if p.As == ABL {
    				zRIL(_b, op_BRASL, uint32(REG_LR), uint32(v), asm)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go

    			ExpectedResult: `{}`,
    		},
    		"int32 medium": {
    			Old:            `{"int32":1000000}`,
    			New:            `{"int32":1000000,"name":"newname"}`,
    			ExpectedPatch:  `{"name":"newname"}`,
    			ExpectedResult: `{"int32":1000000,"name":"newname"}`,
    		},
    		"int32 max": {
    			Old:            `{"int32":2147483647}`,
    			New:            `{"int32":2147483647,"name":"newname"}`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 130.4K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/runtime/framework_test.go

    }()
    
    var defaultWeights = map[string]int32{
    	scoreWithNormalizePlugin1: 1,
    	scoreWithNormalizePlugin2: 2,
    	scorePlugin1:              1,
    }
    
    var state = &framework.CycleState{}
    
    // Pod is only used for logging errors.
    var pod = &v1.Pod{}
    var node = &v1.Node{
    	ObjectMeta: metav1.ObjectMeta{
    		Name: nodeName,
    	},
    }
    var lowPriority, highPriority = int32(0), int32(1000)
    var lowPriorityPod = &v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__autoscaling__v2_openapi.json

                "format": "int32",
                "type": "integer"
              },
              "desiredReplicas": {
                "default": 0,
                "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.",
                "format": "int32",
                "type": "integer"
              },
              "lastScaleTime": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 186.6K bytes
    - Viewed (0)
  5. pkg/config/validation/validation.go

    	return nil
    }
    
    // validateWeight checks if weight is valid
    func validateWeight(weight int32) error {
    	if weight < 0 {
    		return fmt.Errorf("weight %d < 0", weight)
    	}
    	return nil
    }
    
    // ValidatePercent checks that percent is in range
    func ValidatePercent(val int32) error {
    	if val < 0 || val > 100 {
    		return fmt.Errorf("percentage %v is not in range 0..100", val)
    	}
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers_test.go

    						},
    					},
    				},
    			},
    			// Columns: Name, Type, NominalConcurrencyShares, Queues, HandSize, QueueLengthLimit, Age
    			expected: []metav1.TableRow{{Cells: []interface{}{"queued", "Limited", int32(42), int32(8), int32(3), int32(4), "0s"}}},
    		},
    	}
    
    	for i, test := range tests {
    		rows, err := printPriorityLevelConfiguration(&test.pl, printers.GenerateOptions{})
    		if err != nil {
    			t.Fatal(err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  7. src/database/sql/sql.go

    	if !n.Valid {
    		return nil, nil
    	}
    	return n.Int64, nil
    }
    
    // NullInt32 represents an int32 that may be null.
    // NullInt32 implements the [Scanner] interface so
    // it can be used as a scan destination, similar to [NullString].
    type NullInt32 struct {
    	Int32 int32
    	Valid bool // Valid is true if Int32 is not NULL
    }
    
    // Scan implements the [Scanner] interface.
    func (n *NullInt32) Scan(value any) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  8. pkg/kubelet/eviction/eviction_manager_test.go

    func makePodWithMemoryStats(name string, priority int32, requests v1.ResourceList, limits v1.ResourceList, memoryWorkingSet string) (*v1.Pod, statsapi.PodStats) {
    	pod := newPod(name, priority, []v1.Container{
    		newContainer(name, requests, limits),
    	}, nil)
    	podStats := newPodMemoryStats(pod, resource.MustParse(memoryWorkingSet))
    	return pod, podStats
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__autoscaling__v1_openapi.json

                "format": "int32",
                "type": "integer"
              },
              "currentReplicas": {
                "default": 0,
                "description": "currentReplicas is the current number of replicas of pods managed by this autoscaler.",
                "format": "int32",
                "type": "integer"
              },
              "desiredReplicas": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 152.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    func (in *ClientIPConfig) DeepCopyInto(out *ClientIPConfig) {
    	*out = *in
    	if in.TimeoutSeconds != nil {
    		in, out := &in.TimeoutSeconds, &out.TimeoutSeconds
    		*out = new(int32)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientIPConfig.
    func (in *ClientIPConfig) DeepCopy() *ClientIPConfig {
    	if in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
Back to top