Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 125 of 125 for DELETE (0.55 sec)

  1. doc/go1.17_spec.html

    <p>
    The built-in function <code>delete</code> removes the element with key
    <code>k</code> from a <a href="#Map_types">map</a> <code>m</code>. The
    type of <code>k</code> must be <a href="#Assignability">assignable</a>
    to the key type of <code>m</code>.
    </p>
    
    <pre class="grammar">
    delete(m, k)  // remove element m[k] from map m
    </pre>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/exec.go

    		return err
    	}
    
    	// Update the binary with the final build ID.
    	// But if OmitDebug is set, don't rewrite the binary, because we set OmitDebug
    	// on binaries that we are going to run and then delete.
    	// There's no point in doing work on such a binary.
    	// Worse, opening the binary for write here makes it
    	// essentially impossible to safely fork+exec due to a fundamental
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/test.go

    		h := cgo.NewHandle(ch)
    		go func() {
    			C.cFunc37033(C.uintptr_t(h))
    		}()
    		if v := <-ch; issue37033 != v {
    			t.Fatalf("unexpected receiving value: got %d, want %d", v, issue37033)
    		}
    		h.Delete()
    	}
    }
    
    // issue 38649
    
    var issue38649 C.netbsd_gid = 42
    
    // issue 39877
    
    var issue39877 *C.void = nil
    
    // issue 40494
    // No runtime test; just make sure it compiles.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  4. src/runtime/map.go

    		fatal("concurrent map writes")
    	}
    
    	hash := t.Hasher(key, uintptr(h.hash0))
    
    	// Set hashWriting after calling t.hasher, since t.hasher may panic,
    	// in which case we have not actually done a write (delete).
    	h.flags ^= hashWriting
    
    	bucket := hash & bucketMask(h.B)
    	if h.growing() {
    		growWork(t, h, bucket)
    	}
    	b := (*bmap)(add(h.buckets, bucket*uintptr(t.BucketSize)))
    	bOrig := b
    	top := tophash(hash)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    		data = append(data, 0)
    	}
    	s.SetData(data)
    	s.SetSize(int64(len(data)))
    
    	// Add reference to go:buildinfo from the rodata section,
    	// so that external linking with -Wl,--gc-sections does not
    	// delete the build info.
    	sr := ldr.CreateSymForUpdate("go:buildinfo.ref", 0)
    	sr.SetType(sym.SRODATA)
    	sr.SetAlign(int32(ctxt.Arch.PtrSize))
    	sr.AddAddr(ctxt.Arch, s.Sym())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
Back to top