Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for newFoo (0.22 sec)

  1. src/go/printer/testdata/slow.input

    entries: map[int]interface{}{
    2: &Foo{},
    1: &Bar{},
    -1: &Baz{ whatever: "... it's just a test." }}}},
            bang: &Bar{foo: []*Foo{}}}}}}}}}
    }
    
    func TestElaborate(t *testing.T) {
            a := newFoo()
            b := newFoo()
    
            if err := deepequal.Check(a, b); err != nil {
                    t.Errorf("expected nil, saw %v", err)
            }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.9K bytes
    - Viewed (0)
  2. src/go/printer/testdata/slow.golden

    							2:	&Foo{},
    							1:	&Bar{},
    							-1:	&Baz{whatever: "... it's just a test."}}}},
    						bang:	&Bar{foo: []*Foo{}}}}}}}}}
    }
    
    func TestElaborate(t *testing.T) {
    	a := newFoo()
    	b := newFoo()
    
    	if err := deepequal.Check(a, b); err != nil {
    		t.Errorf("expected nil, saw %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2K bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/annotationForFunctionOutOfCodeGenTarget2.kt

    @MyComposable
    fun Greeting(): String {
        return "Hi $foo!"
    }
    
    // FILE: p3/foo.kt
    package p3
    
    import org.jetbrains.kotlin.fir.plugin.MyComposable
    
    private var foo_ = 0
    
    fun setFoo(newFoo: Int) {
        foo_ = newFoo
    }
    
    val foo: Int
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Mar 26 07:06:11 UTC 2024
    - 486 bytes
    - Viewed (0)
  4. test/fixedbugs/issue44732.dir/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"issue44732.dir/bar"
    	"issue44732.dir/foo"
    )
    
    func main() {
    	_ = bar.Bar{}
    	_ = foo.NewFoo()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 08 19:43:19 UTC 2021
    - 279 bytes
    - Viewed (0)
  5. test/fixedbugs/issue44732.dir/foo/foo.go

    // Copyright 2021 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.
    
    package foo
    
    type Foo struct {
    	updatecb func()
    }
    
    func NewFoo() *Foo {
    	return &Foo{updatecb: nil}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 08 19:43:19 UTC 2021
    - 262 bytes
    - Viewed (0)
  6. src/cmd/link/testdata/linkname/coro_var.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Linkname "var" to reference newcoro is not allowed.
    
    package main
    
    import "unsafe"
    
    func main() {
    	call(&newcoro)
    }
    
    //go:linkname newcoro runtime.newcoro
    var newcoro unsafe.Pointer
    
    //go:noinline
    func call(*unsafe.Pointer) {
    	// not implemented
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 411 bytes
    - Viewed (0)
  7. pkg/registry/rbac/helpers_test.go

    	}{
    		{
    			name: "same",
    			obj: func() runtime.Object {
    				return newPod()
    			},
    			old: func() runtime.Object {
    				return newPod()
    			},
    			expected: true,
    		},
    		{
    			name: "different managedFields",
    			obj: func() runtime.Object {
    				return newPod()
    			},
    			old: func() runtime.Object {
    				obj := newPod()
    				obj.ManagedFields = []metav1.ManagedFieldsEntry{
    					{
    						Manager: "manager",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  8. src/cmd/link/testdata/linkname/coro_asm/main.go

    // Copyright 2024 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.
    
    // Assembly reference of newcoro is not allowed.
    
    package main
    
    func main() {
    	newcoro()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 267 bytes
    - Viewed (0)
  9. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdater.java

            SnapshotHierarchy newRoot = watchableHierarchies.removeUnwatchableContentOnBuildStart(root, createInvalidator(), watchMode, unsupportedFileSystems);
            newRoot = invalidateMovedDirectoriesOnBuildStarted(newRoot);
            if (root != newRoot) {
                update(newRoot);
            }
            return newRoot;
        }
    
        @CheckReturnValue
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:02:39 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/constant_op_device_assignment.cc

            mlir::Operation *new_op = builder.clone(*op.getOperation());
            new_op->setAttr(kDeviceAttr, device_attr);
            cloned_op_by_device[device_attr.getValue()] = new_op;
          }
          // Update the user operation to use the result of the cloned ConstOp.
          mlir::Operation *new_op = cloned_op_by_device[device_attr.getValue()];
          user_op->setOperand(use.getOperandNumber(), new_op->getResult(0));
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top