Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toIndex (0.24 sec)

  1. cmd/object-handlers_test.go

    				instanceType, object, oindex, partNumber, rec.Code, string(bd), err1)
    		}
    
    		oinfo, err := obj.GetObjectInfo(context.Background(), bucketName, object, ObjectOptions{})
    		if err != nil {
    			t.Fatalf("Object: %s Object Index %d: Unexpected err: %v", object, oindex, err)
    		}
    
    		rs := partNumberToRangeSpec(oinfo, partNumber)
    		size, err := oinfo.GetActualSize()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    	case ir.ODOTPTR:
    		n := n.(*ir.SelectorExpr)
    		p := s.exprPtr(n.X, n.Bounded(), n.Pos())
    		p = s.newValue1I(ssa.OpOffPtr, types.NewPtr(n.Type()), n.Offset(), p)
    		return s.load(n.Type(), p)
    
    	case ir.OINDEX:
    		n := n.(*ir.IndexExpr)
    		switch {
    		case n.X.Type().IsString():
    			if n.Bounded() && ir.IsConst(n.X, constant.String) && ir.IsConst(n.Index, constant.Int) {
    				// Replace "abc"[1] with 'b'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller_test.go

    				{
    					State: v1.ContainerState{
    						Terminated: &v1.ContainerStateTerminated{
    							FinishedAt: testFinishedAt,
    						},
    					},
    				},
    			}
    		}
    		if s.Index != noIndex {
    			p.Annotations = map[string]string{
    				batch.JobCompletionIndexAnnotation: s.Index,
    			}
    			p.Spec.Hostname = fmt.Sprintf("%s-%s", job.Name, s.Index)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
Back to top