Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for myfield (0.05 sec)

  1. misc/cgo/gmp/gmp.go

    find the definition of xxx.  If xxx is a type, cgo replaces C.xxx with
    a Go translation.  C arithmetic types translate to precisely-sized Go
    arithmetic types.  A C struct translates to a Go struct, field by
    field; unrepresentable fields are replaced with opaque byte arrays.  A
    C union translates into a struct containing the first union member and
    perhaps additional padding.  C arrays become Go arrays.  C pointers
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  2. src/bytes/iter.go

    	}
    	return func(yield func([]byte) bool) {
    		for {
    			i := Index(s, sep)
    			if i < 0 {
    				break
    			}
    			frag := s[:i+sepSave]
    			if !yield(frag[:len(frag):len(frag)]) {
    				return
    			}
    			s = s[i+len(sep):]
    		}
    		yield(s[:len(s):len(s)])
    	}
    }
    
    // SplitSeq returns an iterator over all substrings of s separated by sep.
    // The iterator yields the same strings that would be returned by Split(s, sep),
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:23:13 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/crypto/tls/32936.md

    The [ClientHelloInfo] struct passed to [Config.GetCertificate] now includes an `Extensions` field, which can be useful for fingerprinting TLS clients.<!-- go.dev/issue/32936 -->...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 09 18:45:11 UTC 2024
    - 177 bytes
    - Viewed (0)
  4. src/archive/tar/strconv.go

    	if len(s) > len(b) {
    		f.err = ErrFieldTooLong
    	}
    	copy(b, s)
    	if len(s) < len(b) {
    		b[len(s)] = 0
    	}
    
    	// Some buggy readers treat regular files with a trailing slash
    	// in the V7 path field as a directory even though the full path
    	// recorded elsewhere (e.g., via PAX record) contains no trailing slash.
    	if len(s) > len(b) && b[len(b)-1] == '/' {
    		n := len(strings.TrimRight(s[:len(b)-1], "/"))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. src/bytes/reader_test.go

    			defer wg.Done()
    			var buf [1]byte
    			r.ReadAt(buf[:], int64(i))
    		}(i)
    	}
    	wg.Wait()
    }
    
    func TestEmptyReaderConcurrent(t *testing.T) {
    	// Test for the race detector, to verify a Read that doesn't yield any bytes
    	// is okay to use from multiple goroutines. This was our historic behavior.
    	// See golang.org/issue/7856
    	r := NewReader([]byte{})
    	var wg sync.WaitGroup
    	for i := 0; i < 5; i++ {
    		wg.Add(2)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/99-minor/encoding/json/45669.md

    When marshaling, a struct field with the new `omitzero` option in the struct field
    tag will be omitted if its value is zero. If the field type has an `IsZero() bool`
    method, that will be used to determine whether the value is zero. Otherwise, the
    value is zero if it is [the zero value for its type](/ref/spec#The_zero_value).
    
    If both `omitempty` and `omitzero` are specified, the field will be omitted if the
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:27 UTC 2024
    - 452 bytes
    - Viewed (0)
  7. doc/next/6-stdlib/99-minor/encoding/json/68941.md

    [UnmarshalTypeError.Field] now includes embedded structs to provide more detailed error messages....
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 15:49:47 UTC 2024
    - 98 bytes
    - Viewed (0)
  8. doc/next/6-stdlib/99-minor/net/http/67813.md

    [Transport] and [Server] now have an HTTP2 field which permits
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 29 17:38:46 UTC 2024
    - 101 bytes
    - Viewed (0)
Back to top