Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 478 for getB (0.11 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseIncrementalCompilationAfterFailureIntegrationTest.groovy

            a.delete()
            c.delete()
            file("src/main/$languageName/a/A1.java").text = "package a; class A { void m1() {} }"
            b.text = "package b; $compileStaticAnnotation class B { B getB() { return 0; } }"
            file("src/main/$languageName/c/C1.java").text = "package c; class C { void m1() {} }"
            runAndFail language.compileTaskName
    
            then:
            outputs.noneRecompiled()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/LibrariesSourceGeneratorTest.groovy

                bundle('myBundle', ['foo', 'bar'])
                plugin('pl', 'org.plugin') version('1.2')
            }
    
            then:
            def libs = sources.compile()
            def foo = libs.foo.get()
            def bar = libs.bar.get()
            assert foo.module.group == 'g'
            assert foo.module.name == 'a'
            assert foo.versionConstraint.requiredVersion == 'v'
    
            assert bar.module.group == 'g2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

        abstract boolean isSupportsBuildOperations()
    
        abstract DomainObjectCollection<T> getContainer()
    
        abstract T getA()
    
        abstract T getB()
    
        abstract T getC()
    
        abstract <S extends T> S getD()
    
        Class<T> getType() {
            return a.class
        }
    
        @SuppressWarnings("GrUnnecessaryPublicModifier")
        public <S extends T> Class<S> getOtherType() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        auto shape = rewriter.create<ConstOp>(
            loc, DenseElementsAttr::get(
                     shape_type, {static_cast<int>(x_type.getDimSize(0)), 1}));
        auto indices = rewriter.create<ReshapeOp>(loc, op.getX(), shape);
    
        rewriter.replaceOpWithNewOp<TensorScatterUpdateOp>(
            op, result_type, op.getX(), indices, updates);
        return success();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  5. src/time/zoneinfo_read.go

    		//	38	eattr[4]
    		//	42	off[4]
    		//	46	name[namelen]
    		//	46+namelen+xlen+fclen - next header
    		//
    		if get4(buf) != zcheader {
    			break
    		}
    		meth := get2(buf[10:])
    		size := get4(buf[24:])
    		namelen := get2(buf[28:])
    		xlen := get2(buf[30:])
    		fclen := get2(buf[32:])
    		off := get4(buf[42:])
    		zname := buf[46 : 46+namelen]
    		buf = buf[46+namelen+xlen+fclen:]
    		if string(zname) != name {
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modget/get.go

    	CmdGet.Run = runGet // break init loop
    	CmdGet.Flag.Var(&getD, "d", "")
    	CmdGet.Flag.Var(&getU, "u", "")
    }
    
    func runGet(ctx context.Context, cmd *base.Command, args []string) {
    	switch getU.version {
    	case "", "upgrade", "patch":
    		// ok
    	default:
    		base.Fatalf("go: unknown upgrade flag -u=%s", getU.rawVersion)
    	}
    	if getD.set {
    		if !getD.value {
    			base.Fatalf("go: -d flag may not be set to false")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  7. src/runtime/atomic_pointer.go

    // See go.dev/issue/67401.
    //
    //go:linkname atomicwb
    //go:nosplit
    func atomicwb(ptr *unsafe.Pointer, new unsafe.Pointer) {
    	slot := (*uintptr)(unsafe.Pointer(ptr))
    	buf := getg().m.p.ptr().wbBuf.get2()
    	buf[0] = *slot
    	buf[1] = uintptr(new)
    }
    
    // atomicstorep performs *ptr = new atomically and invokes a write barrier.
    //
    //go:nosplit
    func atomicstorep(ptr unsafe.Pointer, new unsafe.Pointer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/get.go

    )
    
    // getterFunc performs a get request with the given context and object name. The request
    // may be used to deserialize an options object to pass to the getter.
    type getterFunc func(ctx context.Context, name string, req *http.Request) (runtime.Object, error)
    
    // getResourceHandler is an HTTP handler function for get requests. It delegates to the
    // passed-in getterFunc to perform the actual get.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:22:16 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. src/runtime/mwbbuf.go

    func (b *wbBuf) empty() bool {
    	return b.next == uintptr(unsafe.Pointer(&b.buf[0]))
    }
    
    // getX returns space in the write barrier buffer to store X pointers.
    // getX will flush the buffer if necessary. Callers should use this as:
    //
    //	buf := &getg().m.p.ptr().wbBuf
    //	p := buf.get2()
    //	p[0], p[1] = old, new
    //	... actual memory write ...
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. src/runtime/lock_futex.go

    }
    
    func notetsleep(n *note, ns int64) bool {
    	gp := getg()
    	if gp != gp.m.g0 && gp.m.preemptoff != "" {
    		throw("notetsleep not on g0")
    	}
    
    	return notetsleep_internal(n, ns)
    }
    
    // same as runtimeĀ·notetsleep, but called on user g (not g0)
    // calls only nosplit functions between entersyscallblock/exitsyscall.
    func notetsleepg(n *note, ns int64) bool {
    	gp := getg()
    	if gp == gp.m.g0 {
    		throw("notetsleepg on g0")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top