Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for DELETE (0.49 sec)

  1. src/builtin/builtin.go

    // returns the number of elements copied, which will be the minimum of
    // len(src) and len(dst).
    func copy(dst, src []Type) int
    
    // The delete built-in function deletes the element with the specified key
    // (m[key]) from the map. If m is nil or there is no such element, delete
    // is a no-op.
    func delete(m map[Type]Type1, key Type)
    
    // The len built-in function returns the length of v, according to its type:
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. 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>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. doc/go_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
    value <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>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. doc/go_mem.html

    	print(a)
    }
    </pre>
    
    <p>
    the assignment to <code>a</code> is not followed by
    any synchronization event, so it is not guaranteed to be
    observed by any other goroutine.
    In fact, an aggressive compiler might delete the entire <code>go</code> statement.
    </p>
    
    <p>
    If the effects of a goroutine must be observed by another goroutine,
    use a synchronization mechanism such as a lock or channel
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  5. src/archive/tar/writer_test.go

    				Name:       "file2",
    				PAXRecords: map[string]string{"path": "file2"},
    			}, nil},
    			testHeader{Header{
    				Typeflag:   TypeXGlobalHeader,
    				PAXRecords: map[string]string{"path": ""}, // Should delete "path", but keep "mtime"
    			}, nil},
    			testHeader{Header{
    				Typeflag: TypeReg, Name: "file3",
    			}, nil},
    			testHeader{Header{
    				Typeflag:   TypeReg,
    				Name:       "file4",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
Back to top