Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 7,614 for plugin1 (0.25 sec)

  1. src/cmd/cgo/internal/testplugin/testdata/sub/plugin1/plugin1.go

    import "C"
    
    import "testplugin/common"
    
    func F() int { return 17 }
    
    var FuncVar = func() {}
    
    func ReadCommonX() int {
    	FuncVar()
    	return common.X
    }
    
    func main() {
    	panic("plugin1.main called")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 395 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testplugin/testdata/plugin1/plugin1.go

    }
    
    func UnexportedNameReuse() {
    	h := sameNameHolder{}
    	v := reflect.ValueOf(&h).Elem().Field(0)
    	newval := reflect.New(v.Type().Elem())
    	v.Set(newval)
    }
    
    func main() {
    	panic("plugin1.main called")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 820 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testplugin/testdata/issue22175/plugin1.go

    // Copyright 2017 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 main
    
    import "plugin"
    
    func F() int {
    	p2, err := plugin.Open("issue22175_plugin2.so")
    	if err != nil {
    		panic(err)
    	}
    	g, err := p2.Lookup("G")
    	if err != nil {
    		panic(err)
    	}
    	return g.(func() int)()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 390 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testplugin/testdata/issue44956/plugin1.go

    Austin Clements <******@****.***> 1683216807 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 228 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testplugin/testdata/host/host.go

    	_, err = plugin.Open("plugin2-dup.so")
    	if err == nil {
    		log.Fatal(`plugin.Open("plugin2-dup.so"): duplicate open after bad plugin should have failed`)
    	}
    	_, err = plugin.Open("plugin2.so")
    	if err != nil {
    		log.Fatalf(`plugin.Open("plugin2.so"): second open with same name failed: %v`, err)
    	}
    
    	// Test that unexported types with the same names in
    	// different plugins do not interfere with each other.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. testing/soak/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadComplexProjectSoakTest.groovy

            """
            file("plugin1/build.gradle") << """
                plugins {
                    id 'java-gradle-plugin'
                }
    
                $TOOLCHAIN_WITH_VERSION
    
                gradlePlugin {
                    plugins {
                        simplePlugin {
                            id = 'org.example.plugin1'
                            implementationClass = 'org.example.Plugin1'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy

                    }
                }
    
                class Plugin3 {
                    static class Rules extends RuleSource {
                        @Mutate
                        void m(String s) {
                            "foo"
                        }
                    }
                }
    
                apply type: Plugin1
                apply type: Plugin2
                apply type: Plugin3
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. pkg/scheduler/apis/config/v1/default_plugins_test.go

    			},
    			defaultPlugins: &v1.Plugins{
    				Filter: v1.PluginSet{
    					Enabled: []v1.Plugin{
    						{Name: "Plugin1"},
    						{Name: "Plugin2"},
    						{Name: "Plugin3"},
    					},
    				},
    			},
    			expectedPlugins: &v1.Plugins{
    				Filter: v1.PluginSet{
    					Enabled: []v1.Plugin{
    						{Name: "Plugin1", Weight: ptr.To[int32](2)},
    						{Name: "Plugin2"},
    						{Name: "Plugin3", Weight: ptr.To[int32](3)},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/internal/plugins/ApplyPluginBuildOperationIntegrationTest.groovy

            buildFile """
                class Plugin1 implements Plugin {
                    void apply(project) {
                        project.rootProject.project(":b").apply(plugin: Plugin2)
                    }
                }
                class Plugin2 implements Plugin {
                    void apply(project) {
    
                    }
                }
    
                project(":a").apply plugin: Plugin1
            """
            succeeds("help")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:36 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testplugin/testdata/issue44956/main.go

    //     stmp = makemap(...) // in init function
    //
    // plugin1 and plugin2 both import base. plugin1 doesn't use
    // base.X, so that symbol is deadcoded in plugin1.
    //
    // plugin1 is loaded first. base.init runs at that point, which
    // initialize base.stmp.
    //
    // plugin2 is then loaded. base.init already ran, so it doesn't run
    // again. When base.stmp is not exported, plugin2's base.X points to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top