- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 130 for DELETE (0.09 sec)
-
src/encoding/gob/type.go
// Does this type implement GobEncoder? if ut.externalEnc != 0 { return newGobEncoderType(name), nil } var err error var type0, type1 gobType defer func() { if err != nil { delete(types, rt) } }() // Install the top-level type before the subtypes (e.g. struct before // fields) so recursive types can be constructed safely. switch t := rt; t.Kind() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
src/go/types/typestring.go
panic(msg) } w.buf.WriteString("<" + msg + ">") } func (w *typeWriter) typ(typ Type) { if w.seen[typ] { w.error("cycle to " + goTypeName(typ)) return } w.seen[typ] = true defer delete(w.seen, typ) switch t := typ.(type) { case nil: w.error("nil") case *Basic: // exported basic types go into package unsafe // (currently this is just unsafe.Pointer)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typestring.go
panic(msg) } w.buf.WriteString("<" + msg + ">") } func (w *typeWriter) typ(typ Type) { if w.seen[typ] { w.error("cycle to " + goTypeName(typ)) return } w.seen[typ] = true defer delete(w.seen, typ) switch t := typ.(type) { case nil: w.error("nil") case *Basic: // exported basic types go into package unsafe // (currently this is just unsafe.Pointer)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.2K bytes - Viewed (0) -
src/internal/trace/order.go
// Handle each case slightly differently; we just group them together // because they have shared preconditions. newCtx := curCtx switch ev.typ { case go122.EvGoDestroy: // This goroutine is exiting itself. delete(o.gStates, curCtx.G) newCtx.G = NoGoroutine case go122.EvGoStop: // Goroutine stopped (yielded). It's runnable but not running on this M. state.status = go122.GoRunnable newCtx.G = NoGoroutine
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 52.4K bytes - Viewed (0) -
src/go/types/builtins.go
return } if check.recordTypes() { check.recordBuiltinType(call.Fun, makeSig(Typ[Int], x.typ, y.typ)) } x.mode = value x.typ = Typ[Int] case _Delete: // delete(map_, key) // map_ must be a map type or a type parameter describing map types. // The key cannot be a type parameter for now. map_ := x.typ var key Type if !underIs(map_, func(u Type) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 58.4K bytes - Viewed (0) -
src/net/http/clientserver_test.go
})) res, err := cst.c.Get(cst.ts.URL) if err != nil { t.Fatal(err) } if _, err := io.Copy(io.Discard, res.Body); err != nil { t.Fatal(err) } res.Body.Close() delete(res.Header, "Date") delete(res.Header, "Content-Type") if want := (Header{"Foo": {"Bar"}}); !reflect.DeepEqual(res.Header, want) { t.Errorf("Header = %#v; want %#v", res.Header, want) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 46.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go
// // Example: // var _ = complex(float32(1), float64(2)) InvalidComplex // InvalidDelete occurs when the delete built-in function is called with a // first argument that is not a map. // // Example: // func f() { // m := "hello" // delete(m, "e") // } InvalidDelete // InvalidImag occurs when the imag built-in function is called with an
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 34K bytes - Viewed (0) -
src/testing/fstest/testfs.go
t := fsTester{fsys: fsys} t.checkDir(".") t.checkOpen(".") found := make(map[string]bool) for _, dir := range t.dirs { found[dir] = true } for _, file := range t.files { found[file] = true } delete(found, ".") if len(expected) == 0 && len(found) > 0 { var list []string for k := range found { if k != "." { list = append(list, k) } } slices.Sort(list) if len(list) > 15 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/universe.go
_Clear: {"clear", 1, false, statement}, _Close: {"close", 1, false, statement}, _Complex: {"complex", 2, false, expression}, _Copy: {"copy", 2, false, statement}, _Delete: {"delete", 2, false, statement}, _Imag: {"imag", 1, false, expression}, _Len: {"len", 1, false, expression}, _Make: {"make", 1, true, expression}, // To disable max/min, remove the next two lines.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.1K bytes - Viewed (0)