Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for walltime (0.11 sec)

  1. soft_delete.go

    	"database/sql/driver"
    	"encoding/json"
    	"reflect"
    
    	"github.com/jinzhu/now"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    )
    
    type DeletedAt sql.NullTime
    
    // Scan implements the Scanner interface.
    func (n *DeletedAt) Scan(value interface{}) error {
    	return (*sql.NullTime)(n).Scan(value)
    }
    
    // Value implements the driver Valuer interface.
    func (n DeletedAt) Value() (driver.Value, error) {
    	if !n.Valid {
    		return nil, nil
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. samples/kind-lb/setupkind.sh

    fi
    
    # utility function to wait for pods to be ready
    function waitForPods() {
      ns=$1
      lb=$2
      waittime=$3
      # Wait for the pods to be ready in the given namespace with lable
      while : ; do
        res=$(kubectl wait --context "kind-${CLUSTERNAME}" -n "${ns}" pod \
          -l "${lb}" --for=condition=Ready --timeout="${waittime}s" 2>/dev/null ||true)
        if [[ "${res}" == *"condition met"* ]]; then
          break
        fi
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 02 19:08:19 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. src/runtime/sema.go

    // at which it was woken up as now. Otherwise now is 0.
    // If there are additional entries in the wait list, dequeue
    // returns tailtime set to the last entry's acquiretime.
    // Otherwise tailtime is found.acquiretime.
    func (root *semaRoot) dequeue(addr *uint32) (found *sudog, now, tailtime int64) {
    	ps := &root.treap
    	s := *ps
    	for ; s != nil; s = *ps {
    		if s.elem == unsafe.Pointer(addr) {
    			goto Found
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. schema/model_test.go

    	Active    *bool
    }
    
    type (
    	mytime time.Time
    	myint  int
    	mybool = bool
    )
    
    type AdvancedDataTypeUser struct {
    	ID           sql.NullInt64
    	Name         *sql.NullString
    	Birthday     sql.NullTime
    	RegisteredAt mytime
    	DeletedAt    *mytime
    	Active       mybool
    	Admin        *mybool
    }
    
    type BaseModel struct {
    	ID        uint
    	CreatedAt time.Time
    	CreatedBy *int
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  5. src/database/sql/convert_test.go

    		}
    		if bp, boolTest := ct.d.(*bool); boolTest && *bp != ct.wantbool && ct.wanterr == "" {
    			errf("want bool %v, got %v", ct.wantbool, *bp)
    		}
    		if !ct.wanttime.IsZero() && !ct.wanttime.Equal(timeValue(ct.d)) {
    			errf("want time %v, got %v", ct.wanttime, timeValue(ct.d))
    		}
    		if ct.wantnil && *ct.d.(**int64) != nil {
    			errf("want nil, got %v", intPtrValue(ct.d))
    		}
    		if ct.wantptr != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. doc/next/7-ports.md

    The `GORISCV64` environment variable defaults to `rva20u64`.
    
    ### Wasm {#wasm}
    
    <!-- go.dev/issue/63718 -->
    The `go_wasip1_wasm_exec` script in `GOROOT/misc/wasm` has dropped support
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:52 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/runtime/internal/wasitest/tcpecho_test.go

    	subProcess.Env = append(os.Environ(), "GOOS=wasip1", "GOARCH=wasm")
    
    	switch os.Getenv("GOWASIRUNTIME") {
    	case "wazero":
    		subProcess.Env = append(subProcess.Env, "GOWASIRUNTIMEARGS=--listen="+host)
    	case "wasmtime", "":
    		subProcess.Env = append(subProcess.Env, "GOWASIRUNTIMEARGS=--tcplisten="+host)
    	default:
    		t.Skip("WASI runtime does not support sockets")
    	}
    
    	var b bytes.Buffer
    	subProcess.Stdout = &b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 22:01:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/compile.go

    			return ""
    		case "seed":
    			checkEnabled = true
    			checkRandSeed = val
    			debugPoset = checkEnabled
    			return ""
    		}
    	}
    
    	alltime := false
    	allmem := false
    	alldump := false
    	if phase == "all" {
    		switch flag {
    		case "time":
    			alltime = val != 0
    		case "mem":
    			allmem = val != 0
    		case "dump":
    			alldump = val != 0
    			if alldump {
    				BuildDump[valString] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. src/syscall/fs_wasip1.go

    	FILESTAT_SET_ATIM_NOW = 0x0002
    	FILESTAT_SET_MTIM     = 0x0004
    	FILESTAT_SET_MTIM_NOW = 0x0008
    )
    
    const (
    	// Despite the rights being defined as a 64 bits integer in the spec,
    	// wasmtime crashes the program if we set any of the upper 32 bits.
    	fullRights  = rights(^uint32(0))
    	readRights  = rights(RIGHT_FD_READ | RIGHT_FD_READDIR)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          // We wait at most 1 second, so we don't ever turn multiple lost threads into
          // a test timeout failure.
          val waitTime = (entryTime + 1_000_000_000L - System.nanoTime())
          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
            TaskRunner.INSTANCE.lock.withLock {
              TaskRunner.INSTANCE.cancelAll()
            }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top