Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for O2 (0.23 sec)

  1. test/fixedbugs/issue24503.go

    // Issue 24503: Handle == and != of addresses taken of symbols consistently.
    
    package main
    
    func test() string {
    	type test struct{}
    	o1 := test{}
    	o2 := test{}
    	if &o1 == &o2 {
    		return "equal"
    	}
    	if &o1 != &o2 {
    		return "unequal"
    	}
    	return "failed"
    }
    
    func main() {
    	if test() == "failed" {
    		panic("expected either 'equal' or 'unequal'")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 31 21:37:13 UTC 2018
    - 517 bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/execution/plan/NodeComparator.java

        }
    
        @Override
        public int compare(Node o1, Node o2) {
    
            if (o1 instanceof OrdinalNode || o1 instanceof ResolveMutationsNode) {
                if (o1.equals(o2)) {
                    return 0;
                } else {
                    return -1;
                }
            }
            if (o2 instanceof OrdinalNode || o2 instanceof ResolveMutationsNode) {
                return 1;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 26 20:13:45 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. src/internal/coverage/pods/pods_test.go

    o1/covcounters.ae7be26cdaa742ca148068d5ac90eaca.41.2 o:0
    o1/covcounters.ae7be26cdaa742ca148068d5ac90eaca.42.1 o:0
    o2/covcounters.ae7be26cdaa742ca148068d5ac90eaca.35.11 o:1
    ]`,
    		`o2/covmeta.aaf2f89992379705dac844c0a2a1d45f [
    o2/covcounters.aaf2f89992379705dac844c0a2a1d45f.36.3 o:1
    o2/covcounters.aaf2f89992379705dac844c0a2a1d45f.37.2 o:1
    o2/covcounters.aaf2f89992379705dac844c0a2a1d45f.38.1 o:1
    ]`,
    	}
    	for k, exp := range expected {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 31 14:00:17 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ConstructorComparator.java

        @Override
        public int compare(ClassGenerator.GeneratedConstructor<?> o1, ClassGenerator.GeneratedConstructor<?> o2) {
            int parameterSort = Integer.compare(o1.getParameterTypes().length, o2.getParameterTypes().length);
            if (parameterSort == 0) {
                // Both constructors have the same number of parameters
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. operator/pkg/object/objects_test.go

    		}},
    	}
    	cases := []struct {
    		desc string
    		o1   *K8sObject
    		o2   *K8sObject
    		want bool
    	}{
    		{
    			desc: "Equals",
    			o1:   &obj1,
    			o2:   &obj1,
    			want: true,
    		},
    		{
    			desc: "NotEquals",
    			o1:   &obj1,
    			o2:   &obj2,
    			want: false,
    		},
    		{
    			desc: "NilSource",
    			o1:   nil,
    			o2:   &obj2,
    			want: false,
    		},
    		{
    			desc: "NilDest",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/Operation.java

                @Override
                public int compare(Operation o1, Operation o2) {
                    long byElapsedTime = o2.getElapsedTime() - o1.getElapsedTime();
                    if (byElapsedTime > 0) {
                        return 1;
                    } else if (byElapsedTime < 0) {
                        return -1;
                    }
                    return o1.getDescription().compareTo(o2.getDescription());
                }
            };
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. test/fixedbugs/issue44378.go

    package a
    
    type O interface{}
    type IO int
    type OS int
    
    type A struct {
    	x int
    }
    
    // original versions of the two function
    func (p *A) UO(o O) {
    	p.r(o, o)
    }
    func (p *A) r(o1, o2 O) {
    	switch x := o1.(type) {
    	case *IO:
    		p.x = int(*x)
    	case *OS:
    		p.x = int(*x + 2)
    	}
    }
    
    // see note above about the importance of all this code winding up on one line.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 21 02:25:26 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/arm/asm5.go

    			o2 |= 1 << 22
    		}
    
    	case 34: /* mov $lacon,R */
    		o1 = c.omvl(p, &p.From, REGTMP)
    
    		if o1 == 0 {
    			break
    		}
    
    		o2 = c.oprrr(p, AADD, int(p.Scond))
    		o2 |= REGTMP & 15
    		r := int(p.From.Reg)
    		if r == 0 {
    			r = int(o.param)
    		}
    		o2 |= (uint32(r) & 15) << 16
    		if p.To.Type != obj.TYPE_NONE {
    			o2 |= (uint32(p.To.Reg) & 15) << 12
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  9. test/fixedbugs/issue53137.go

    import (
    	"unsafe"
    )
    
    type Embedded struct {
    	B int
    }
    
    type S[K any] struct {
    	A K
    	Embedded
    }
    
    func showOffsets[K any](d *S[K]) {
    	o1 := unsafe.Offsetof(d.B)
    	o2 := unsafe.Offsetof(d.Embedded)
    	if o1 != o2 {
    		panic("offset mismatch")
    	}
    }
    
    func main() {
    	showOffsets(new(S[int]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 31 14:58:09 UTC 2022
    - 466 bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/00-bug.yml

            AR="ar"
            CC="clang"
            CXX="clang++"
            CGO_ENABLED="1"
            GOMOD="/dev/null"
            GOWORK=""
            CGO_CFLAGS="-O2 -g"
            CGO_CPPFLAGS=""
            CGO_CXXFLAGS="-O2 -g"
            CGO_FFLAGS="-O2 -g"
            CGO_LDFLAGS="-O2 -g"
            PKG_CONFIG="pkg-config"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top