Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,212 for shirt1 (0.78 sec)

  1. src/cmd/vet/testdata/shift/shift.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file contains tests for the suspicious shift checker.
    
    package shift
    
    func ShiftTest() {
    	var i8 int8
    	_ = i8 << 7
    	_ = (i8 + 1) << 8 // ERROR ".i8 . 1. .8 bits. too small for shift of 8"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 20 15:46:42 UTC 2019
    - 358 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testgodefs/testdata/bitfields.go

        unsigned int B3     :  1;
        unsigned int B4     :  1;
        unsigned int Short1 : 16; // misaligned on 8 bit boundary
        unsigned int B5     :  1;
        unsigned int B6     :  1;
        unsigned int B7     :  1;
        unsigned int B8     :  1;
        unsigned int B9     :  1;
        unsigned int B10    :  3;
        unsigned int Short2 : 16; // alignment is OK
        unsigned int Short3 : 16; // alignment is OK
    };
    */
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 838 bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/shifts.go

    		u1 = 1.0 /* ERROR "must be integer" */ <<s != 0   // illegal: 1.0 has type float64, cannot shift
    		u2 = 1 /* ERROR "must be integer" */ <<s != 1.0   // illegal: 1 has type float64, cannot shift
    		v float32 = 1 /* ERROR "must be integer" */ <<s   // illegal: 1 has type float32, cannot shift
    		w int64 = 1.0<<33  // 1.0<<33 is a constant shift expression
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy

        def "can serialize/deserialize isolated Short values"() {
            short short1 = 1
            short short2 = 2
            Isolatable<?>[] isolatables = [isolatableFactory.isolate(short1), isolatableFactory.isolate(short2)]
    
            when:
            serialize(isolatables)
    
            and:
            Isolatable<?>[] newIsolatables = deserialize()
    
            then:
            newIsolatables[0].isolate() == short1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. test/codegen/shift.go

    	if shift >= 0 && shift < 64 {
    		// arm64:"LSL",-"CSEL"
    		r1 = val64 << shift
    	}
    	if shift >= 0 && shift < 32 {
    		// arm64:"LSL",-"CSEL"
    		r2 = val32 << shift
    	}
    	if shift >= 0 && shift < 16 {
    		// arm64:"LSL",-"CSEL"
    		r3 = val16 << shift
    	}
    	if shift >= 0 && shift < 8 {
    		// arm64:"LSL",-"CSEL"
    		r4 = val8 << shift
    	}
    	return r1, r2, r3, r4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. test/ken/shift.go

    // run
    
    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test shift.
    
    package main
    
    var	ians	[18]int;
    var	uans	[18]uint;
    var	pass	string;
    
    func
    testi(i int, t1,t2,t3 int) {
    	n := ((t1*3) + t2)*2 + t3;
    	if i != ians[n] {
    		print("itest ", t1,t2,t3,pass,
    			" is ", i, " sb ", ians[n], "\n");
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 2.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testgodefs/testdata/main.go

    	check := func(name string) {
    		_, ok := bitfieldType.FieldByName(name)
    		if ok {
    			fmt.Fprintf(os.Stderr, "found unexpected bitfields field %s\n", name)
    			pass = false
    		}
    	}
    	check("Short1")
    	check("Short2")
    	check("Short3")
    
    	if !pass {
    		os.Exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. cmd/metacache-entries_test.go

    "src/compress/flate/testdata/huffman-rand-max.in", "src/compress/flate/testdata/huffman-shifts.dyn.expect", "src/compress/flate/testdata/huffman-shifts.dyn.expect-noinput", "src/compress/flate/testdata/huffman-shifts.golden", "src/compress/flate/testdata/huffman-shifts.in", "src/compress/flate/testdata/huffman-shifts.wb.expect", "src/compress/flate/testdata/huffman-shifts.wb.expect-noinput", "src/compress/flate/testdata/huffman-text-shift.dyn.expect", "src/compress/flate/testdata/huffman-text-shift.dyn.expect-noinput",...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
  9. src/compress/flate/testdata/huffman-shifts.in

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 6.4K bytes
    - Viewed (0)
  10. src/compress/flate/testdata/huffman-shifts.golden

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 1.8K bytes
    - Viewed (0)
Back to top