Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 91 for Dtype (0.26 sec)

  1. pkg/controller/job/job_controller.go

    func ensureJobConditionStatus(list []batch.JobCondition, cType batch.JobConditionType, status v1.ConditionStatus, reason, message string, now time.Time) ([]batch.JobCondition, bool) {
    	if condition := findConditionByType(list, cType); condition != nil {
    		if condition.Status != status || condition.Reason != reason || condition.Message != message {
    			*condition = *newCondition(cType, status, reason, message, now)
    			return list, true
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  2. src/runtime/map.go

    	extra *mapextra // optional fields
    }
    
    // mapextra holds fields that are not present on all maps.
    type mapextra struct {
    	// If both key and elem do not contain pointers and are inline, then we mark bucket
    	// type as containing no pointers. This avoids scanning such maps.
    	// However, bmap.overflow is a pointer. In order to keep overflow buckets
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  3. src/runtime/panic.go

    	defer func() {
    		text := "panic while printing panic value"
    		switch r := recover().(type) {
    		case nil:
    			// nothing to do
    		case string:
    			throw(text + ": " + r)
    		default:
    			throw(text + ": type " + toRType(efaceOf(&r)._type).string())
    		}
    	}()
    	for p != nil {
    		switch v := p.arg.(type) {
    		case error:
    			p.arg = v.Error()
    		case stringer:
    			p.arg = v.String()
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  4. src/runtime/export_test.go

    const UserArenaChunkBytes = userArenaChunkBytes
    
    type UserArena struct {
    	arena *userArena
    }
    
    func NewUserArena() *UserArena {
    	return &UserArena{newUserArena()}
    }
    
    func (a *UserArena) New(out *any) {
    	i := efaceOf(out)
    	typ := i._type
    	if typ.Kind_&abi.KindMask != abi.Pointer {
    		panic("new result of non-ptr type")
    	}
    	typ = (*ptrtype)(unsafe.Pointer(typ)).Elem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    Go struct types are not supported; use a C struct type.
    Go array types are not supported; use a C pointer.
    
    Go functions that take arguments of type string may be called with the
    C type _GoString_, described above. The _GoString_ type will be
    automatically defined in the preamble. Note that there is no way for C
    code to create a value of this type; this is only useful for passing
    string values from Go to C and back to Go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  6. src/crypto/tls/tls_test.go

    	}
    	keyPEM := pem.EncodeToMemory(&pem.Block{Type: "PRIVATE KEY", Bytes: keyDER})
    	tmpl := &x509.Certificate{
    		SerialNumber: big.NewInt(1),
    		Subject:      pkix.Name{CommonName: "test"},
    	}
    	certDER, err := x509.CreateCertificate(rand.Reader, tmpl, tmpl, key.Public(), key)
    	if err != nil {
    		t.Fatal(err)
    	}
    	certPEM := pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: certDER})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    				MetricV2{
    					Description: MetricDescription{
    						Namespace: bucketMetricNamespace,
    						Subsystem: "batch",
    						Name:      MetricName(jtype + "_objects"),
    						Help:      "Get successfully completed batch job " + jtype + "objects",
    						Type:      counterMetric,
    					},
    					Value:          objects,
    					VariableLabels: map[string]string{"bucket": bucket, "jobId": mj.JobID},
    				},
    				MetricV2{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  8. src/net/http/fs_test.go

    func testServeFileContentType(t *testing.T, mode testMode) {
    	const ctype = "icecream/chocolate"
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		switch r.FormValue("override") {
    		case "1":
    			w.Header().Set("Content-Type", ctype)
    		case "2":
    			// Explicitly inhibit sniffing.
    			w.Header()["Content-Type"] = []string{}
    		}
    		ServeFile(w, r, "testdata/file")
    	})).ts
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  9. src/runtime/os_windows.go

    		} else {
    			h = _INVALID_HANDLE_VALUE
    			timeout = uintptr(us) / 1000 // ms units
    		}
    		stdcall2(_WaitForSingleObject, h, timeout)
    	})
    }
    
    func ctrlHandler(_type uint32) uintptr {
    	var s uint32
    
    	switch _type {
    	case _CTRL_C_EVENT, _CTRL_BREAK_EVENT:
    		s = _SIGINT
    	case _CTRL_CLOSE_EVENT, _CTRL_LOGOFF_EVENT, _CTRL_SHUTDOWN_EVENT:
    		s = _SIGTERM
    	default:
    		return 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  10. src/runtime/symtab.go

    // a package against any previously loaded version of the package.
    // This is done in plugin.lastmoduleinit.
    type modulehash struct {
    	modulename   string
    	linktimehash string
    	runtimehash  *string
    }
    
    // pinnedTypemaps are the map[typeOff]*_type from the moduledata objects.
    //
    // These typemap objects are allocated at run time on the heap, but the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top