Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for members (0.21 sec)

  1. src/bufio/bufio_test.go

    			return
    		}
    	}
    }
    
    func createTestInput(n int) []byte {
    	input := make([]byte, n)
    	for i := range input {
    		// 101 and 251 are arbitrary prime numbers.
    		// The idea is to create an input sequence
    		// which doesn't repeat too frequently.
    		input[i] = byte(i % 251)
    		if i%101 == 0 {
    			input[i] ^= byte(i / 101)
    		}
    	}
    	return input
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    		if dt.StrideBitSize > 0 {
    			// Cannot represent bit-sized elements in Go.
    			t.Go = c.Opaque(t.Size)
    			break
    		}
    		count := dt.Count
    		if count == -1 {
    			// Indicates flexible array member, which Go doesn't support.
    			// Translate to zero-length array instead.
    			count = 0
    		}
    		sub := c.Type(dt.Type, pos)
    		t.Align = sub.Align
    		t.Go = &ast.ArrayType{
    			Len: c.intExpr(count),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top