Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for zeroKey (0.09 sec)

  1. src/archive/zip/reader_test.go

    	}
    }
    
    func TestInvalidFiles(t *testing.T) {
    	const size = 1024 * 70 // 70kb
    	b := make([]byte, size)
    
    	// zeroes
    	_, err := NewReader(bytes.NewReader(b), size)
    	if err != ErrFormat {
    		t.Errorf("zeroes: error=%v, want %v", err, ErrFormat)
    	}
    
    	// repeated directoryEndSignatures
    	sig := make([]byte, 4)
    	binary.LittleEndian.PutUint32(sig, directoryEndSignature)
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    // starting with the least-significant bit of the lowest word to the
    // most-significant bit of the highest word, map to the full range of all
    // 128 ASCII characters. The 128-bits of the upper 16 bytes will be zeroed,
    // ensuring that any non-ASCII character will be reported as not in the set.
    // This allocates a total of 32 bytes even though the upper half
    // is unused to avoid bounds checks in asciiSet.contains.
    type asciiSet [8]uint32
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    <p>
    The built-in function <code>clear</code> takes an argument of <a href="#Map_types">map</a>,
    <a href="#Slice_types">slice</a>, or <a href="#Type_parameter_declarations">type parameter</a> type,
    and deletes or zeroes out all elements
    [<a href="#Go_1.21">Go 1.21</a>].
    </p>
    
    <pre class="grammar">
    Call        Argument type     Result
    
    clear(m)    map[K]T           deletes all entries, resulting in an
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (1)
  4. doc/go1.17_spec.html

    for strings, and <code>nil</code> for pointers, functions, interfaces, slices, channels, and maps.
    This initialization is done recursively, so for instance each element of an
    array of structs will have its fields zeroed if no value is specified.
    </p>
    <p>
    These two simple declarations are equivalent:
    </p>
    
    <pre>
    var i int
    var i int = 0
    </pre>
    
    <p>
    After
    </p>
    
    <pre>
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top