Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 104 for roundup (0.16 sec)

  1. pkg/controller/podautoscaler/horizontal.go

    		if policy.Type == autoscalingv2.PodsScalingPolicy {
    			proposed = periodStartReplicas + policy.Value
    		} else if policy.Type == autoscalingv2.PercentScalingPolicy {
    			// the proposal has to be rounded up because the proposed change might not increase the replica count causing the target to never scale up
    			proposed = int32(math.Ceil(float64(periodStartReplicas) * (1 + float64(policy.Value)/100)))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	Policy     policy.Policy
    	CreateDate time.Time `json:",omitempty"`
    	UpdateDate time.Time `json:",omitempty"`
    }
    
    func newPolicyDoc(p policy.Policy) PolicyDoc {
    	now := UTCNow().Round(time.Millisecond)
    	return PolicyDoc{
    		Version:    1,
    		Policy:     p,
    		CreateDate: now,
    		UpdateDate: now,
    	}
    }
    
    // defaultPolicyDoc - used to wrap a default policy as PolicyDoc.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

        Operation &wrapped_op = GetBody().front();
        YieldOp yield_op = GetYield();
        // The "wraps" syntax only encodes a single location.
        // In order to correctly round-trip, we can only use this syntax when all
        // the locations are identical.
        if (wrapped_op.getLoc() == getLoc() && yield_op.getLoc() == getLoc()) {
          p << " wraps ";
          p.printGenericOp(&wrapped_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/schema/schema.fbs

      ADD_N = 106,
      GATHER_ND = 107,
      COS = 108,
      WHERE = 109,
      RANK = 110,
      ELU = 111,
      REVERSE_SEQUENCE = 112,
      MATRIX_DIAG = 113,
      QUANTIZE = 114,
      MATRIX_SET_DIAG = 115,
      ROUND = 116,
      HARD_SWISH = 117,
      IF = 118,
      WHILE = 119,
      NON_MAX_SUPPRESSION_V4 = 120,
      NON_MAX_SUPPRESSION_V5 = 121,
      SCATTER_ND = 122,
      SELECT_V2 = 123,
      DENSIFY = 124,
      SEGMENT_SUM = 125,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/macho.go

    			}
    		}
    	}
    }
    
    func machoadddynlib(lib string, linkmode LinkMode) {
    	if seenlib[lib] || linkmode == LinkExternal {
    		return
    	}
    	seenlib[lib] = true
    
    	// Will need to store the library name rounded up
    	// and 24 bytes of header metadata. If not enough
    	// space, grab another page of initial space at the
    	// beginning of the output file.
    	loadBudget -= (len(lib)+7)/8*8 + 24
    
    	if loadBudget < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  6. src/time/time.go

    }
    
    // Round returns the result of rounding d to the nearest multiple of m.
    // The rounding behavior for halfway values is to round away from zero.
    // If the result exceeds the maximum (or minimum)
    // value that can be stored in a [Duration],
    // Round returns the maximum (or minimum) duration.
    // If m <= 0, Round returns d unchanged.
    func (d Duration) Round(m Duration) Duration {
    	if m <= 0 {
    		return d
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  7. src/encoding/json/encode.go

    						// so don't bother generating any more copies.
    						fields = append(fields, fields[len(fields)-1])
    					}
    					continue
    				}
    
    				// Record new anonymous struct to explore in next round.
    				nextCount[ft]++
    				if nextCount[ft] == 1 {
    					next = append(next, field{name: ft.Name(), index: index, typ: ft})
    				}
    			}
    		}
    	}
    
    	slices.SortFunc(fields, func(a, b field) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        TFL_TensorOf<[F32, I32, I64, I1, I8, UI8]>:$output
      );
    
      let hasOptions = 1;
    }
    
    def TFL_RoundOp: TFL_Op<"round", [
        Pure,
        TF_SameOperandsAndResultTypeResolveRef]> {
      let summary = "Round operator";
    
      let description = [{
    Rounds the values of a tensor to the nearest integer, element-wise.
      }];
    
      let arguments = (ins
        TFL_FpTensor:$x
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ppc64/ssa.go

    	case ssa.OpPPC64LoweredGetCallerPC:
    		p := s.Prog(obj.AGETCALLERPC)
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg()
    
    	case ssa.OpPPC64LoweredRound32F, ssa.OpPPC64LoweredRound64F:
    		// input is already rounded
    
    	case ssa.OpLoadReg:
    		loadOp := loadByType(v.Type)
    		p := s.Prog(loadOp)
    		ssagen.AddrAuto(&p.From, v.Args[0])
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = v.Reg()
    
    	case ssa.OpStoreReg:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. cmd/peer-rest-server.go

    	durationStr := r.Form.Get(peerRESTDuration)
    	duration, err := time.ParseDuration(durationStr)
    	if err != nil || duration.Seconds() == 0 {
    		duration = time.Second * 10
    	}
    	result := netperf(r.Context(), duration.Round(time.Second))
    	peersLogIf(r.Context(), gob.NewEncoder(w).Encode(result))
    }
    
    func (s *peerRESTServer) HealBucketHandler(mss *grid.MSS) (np grid.NoPayload, nerr *grid.RemoteErr) {
    	bucket := mss.Get(peerS3Bucket)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top