Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 66 for createData (0.19 sec)

  1. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    				Value: memoryUsageWorkingSetBytes,
    			},
    			PageFaults: &runtimeapi.UInt64Value{
    				Value: memoryUsagePageFaults,
    			},
    		},
    	}
    
    	inputContainer := &runtimeapi.Container{
    		CreatedAt: containerStartTime.Unix(),
    		Metadata: &runtimeapi.ContainerMetadata{
    			Name: "c0",
    		},
    	}
    
    	inputRootFsInfo := &cadvisorapiv2.FsInfo{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. tests/scanner_valuer_test.go

    	}
    
    	var result2 ScannerValuerStruct
    	if err := DB.First(&result2, result.ID).Error; err != nil {
    		t.Errorf("got error %v when query with %v", err, result.ID)
    	}
    
    	AssertObjEqual(t, result2, result, "ID", "CreatedAt", "UpdatedAt", "Name", "Gender", "Age")
    }
    
    func TestInvalidValuer(t *testing.T) {
    	DB.Migrator().DropTable(&ScannerValuerStruct{})
    	if err := DB.Migrator().AutoMigrate(&ScannerValuerStruct{}); err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    type PolicyDoc struct {
    	Version    int `json:",omitempty"`
    	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,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_messages_test.go

    	if isTLS13 {
    		s.version = VersionTLS13
    	} else {
    		s.version = uint16(rand.Intn(VersionTLS13))
    	}
    	s.isClient = rand.Intn(10) > 5
    	s.cipherSuite = uint16(rand.Intn(math.MaxUint16))
    	s.createdAt = uint64(rand.Int63())
    	s.secret = randomBytes(rand.Intn(100)+1, rand)
    	for n, i := rand.Intn(3), 0; i < n; i++ {
    		s.Extra = append(s.Extra, randomBytes(rand.Intn(100), rand))
    	}
    	if rand.Intn(10) > 5 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. pkg/kubelet/pleg/evented.go

    		}
    	}
    }
    
    func (e *EventedPLEG) updateLatencyMetric(event *runtimeapi.ContainerEventResponse) {
    	duration := time.Duration(time.Now().UnixNano()-event.CreatedAt) * time.Nanosecond
    	metrics.EventedPLEGConnLatency.Observe(duration.Seconds())
    }
    
    func (e *EventedPLEG) UpdateCache(pod *kubecontainer.Pod, pid types.UID) (error, bool) {
    	return fmt.Errorf("not implemented"), false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. cmd/object-api-interface.go

    type MakeBucketOptions struct {
    	LockEnabled       bool
    	VersioningEnabled bool
    	ForceCreate       bool      // Create buckets even if they are already created.
    	CreatedAt         time.Time // only for site replication
    	NoLock            bool      // does not lock the make bucket call if set to 'true'
    }
    
    // DeleteBucketOptions provides options for DeleteBucket calls.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. src/database/sql/sql.go

    // be held during all calls into the Conn. (including any calls onto
    // interfaces returned via that Conn, such as calls on Tx, Stmt,
    // Result, Rows)
    type driverConn struct {
    	db        *DB
    	createdAt time.Time
    
    	sync.Mutex  // guards following
    	ci          driver.Conn
    	needReset   bool // The connection session should be reset before use if true.
    	closed      bool
    	finalClosed bool // ci.Close has been called
    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/kuberuntime/kuberuntime_manager.go

    	// by calling *Kubelet.findContainer() without specifying a pod ID), we now
    	// return the list of pods ordered by their creation time.
    	sort.SliceStable(result, func(i, j int) bool {
    		return result[i].CreatedAt > result[j].CreatedAt
    	})
    	klog.V(4).InfoS("Retrieved pods from runtime", "all", all)
    	return result, nil
    }
    
    // containerKillReason explains what killed a given container
    type containerKillReason string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  9. pkg/controller/tainteviction/taint_eviction.go

    	startTime := now
    	triggerTime := startTime.Add(minTolerationTime)
    	scheduledEviction := tc.taintEvictionQueue.GetWorkerUnsafe(podNamespacedName.String())
    	if scheduledEviction != nil {
    		startTime = scheduledEviction.CreatedAt
    		if startTime.Add(minTolerationTime).Before(triggerTime) {
    			return
    		}
    		tc.cancelWorkWithEvent(logger, podNamespacedName)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_client_tls13.go

    		if pskSuite == nil {
    			return c.sendAlert(alertInternalError)
    		}
    		if pskSuite.hash == hs.suite.hash {
    			// Update binders and obfuscated_ticket_age.
    			ticketAge := c.config.time().Sub(time.Unix(int64(hs.session.createdAt), 0))
    			hello.pskIdentities[0].obfuscatedTicketAge = uint32(ticketAge/time.Millisecond) + hs.session.ageAdd
    
    			transcript := hs.suite.hash.New()
    			transcript.Write([]byte{typeMessageHash, 0, 0, uint8(len(chHash))})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top