Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for fromsvc (0.32 sec)

  1. pkg/windows/service/service.go

    		h.fromsvc <- err
    	}()
    
    	// Wait for the first signal from the service handler.
    	err = <-h.fromsvc
    	if err != nil {
    		return err
    	}
    	klog.Infof("Running %s as a Windows service!", serviceName)
    	return nil
    }
    
    func (h *handler) Execute(_ []string, r <-chan svc.ChangeRequest, s chan<- svc.Status) (bool, uint32) {
    	s <- svc.Status{State: svc.StartPending, Accepts: 0}
    	// Unblock initService()
    	h.fromsvc <- nil
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 24 11:25:33 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  2. pkg/config/schema/codegen/templates/gvk.go.tmpl

    		panic("unknown kind: " + g.String())
    	}
    	return r
    }
    
    // FromGVR converts a GVR to a GVK.
    func FromGVR(g schema.GroupVersionResource) (config.GroupVersionKind, bool) {
    	switch g {
    {{- range .Entries }}
    		case gvr.{{.Resource.Identifier}}:
    			return {{.Resource.Identifier}}, true
    {{- end }}
    	}
    
    	return config.GroupVersionKind{}, false
    }
    
    // FromGVR converts a GVR to a GVK, and panics if it cannot be converted
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 03:54:51 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_internal.txt

    ! go build ./baddep
    stderr golang.org[/\\]notx[/\\]useinternal
    stderr 'use of internal package golang.org/x/.* not allowed'
    
    # Internal packages in the standard library should not leak into modules.
    go get ./fromstd
    ! go build ./fromstd
    stderr 'use of internal package internal/testenv not allowed'
    
    # Dependencies should be able to use their own internal modules...
    go mod edit -module=golang.org/notx
    go get ./throughdep
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter.go

    	fromGVK := in.GetObjectKind().GroupVersionKind()
    	toGVK, ok := target.KindForGroupVersionKinds([]schema.GroupVersionKind{fromGVK})
    	if !ok {
    		// TODO: should this be a typed error?
    		return nil, fmt.Errorf("%v is unstructured and is not suitable for converting to %q", fromGVK.String(), target)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileTreeCodec.kt

                roots.add(toSpec(sourceTree))
            }
        }
    
        private
        fun fromSpec(spec: FileTreeSpec): FileTreeInternal = when (spec) {
            is AdaptedFileTreeSpec -> fileCollectionFactory.treeOf(spec.tree)
            is FilteredFileTreeSpec -> spec.tree.matching(spec.patterns)
            is FilteredMinimalFileTreeSpec -> fromSpec(spec.tree).matching(spec.patterns)
            is WrappedFileCollectionTreeSpec -> spec.collection.asFileTree
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            }
        }
    
        protected static int[] parseTime(final String time) {
            final String[] froms = time.split(":");
            if (froms.length != 2) {
                throw new FessSystemException("Invalid format: " + time);
            }
            final int[] values = new int[2];
            values[0] = Integer.parseInt(froms[0]);
            if (values[0] < 0 || values[0] > 23) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. pilot/pkg/xds/proxy_dependencies_test.go

    	test.SetForTest(t, &features.JwksFetchMode, jwt.Envoy)
    
    	const (
    		fooSvc       = "foo"
    		extensionSvc = "extension"
    		jwksSvc      = "jwks"
    	)
    
    	cg = core.NewConfigGenTest(t, core.TestOptions{
    		Services: []*model.Service{
    			{
    				Hostname: fooSvc,
    				Attributes: model.ServiceAttributes{
    					ExportTo:  sets.New(visibility.Public),
    					Namespace: nsName,
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/ar.go

    	}
    
    	loaded := make(map[uint64]bool)
    	any := true
    	for any {
    		var load []uint64
    		returnAllUndefs := -1
    		undefs, froms := ctxt.loader.UndefinedRelocTargets(returnAllUndefs)
    		if buildcfg.GOOS == "windows" {
    			undefs, froms = pruneUndefsForWindows(ctxt.loader, undefs, froms)
    		}
    		for k, symIdx := range undefs {
    			sname := ctxt.loader.SymName(symIdx)
    			if off := armap[sname]; off != 0 && !loaded[off] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 19 23:11:11 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ConfigurableFileTreeIntegrationTest.groovy

                val collection = files("abc")
                val froms = collection.from
                assert(froms.size == 1)
                assert(froms.first() == "abc")
            """
            file("groovy-dsl/build.gradle") << """
                def collection = files("abc")
                def froms = collection.from
                assert froms.size() == 1
                assert froms.first() == "abc"
            """
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  10. pkg/config/schema/gvk/resources.gen.go

    func MustToGVR(g config.GroupVersionKind) schema.GroupVersionResource {
    	r, ok := ToGVR(g)
    	if !ok {
    		panic("unknown kind: " + g.String())
    	}
    	return r
    }
    
    // FromGVR converts a GVR to a GVK.
    func FromGVR(g schema.GroupVersionResource) (config.GroupVersionKind, bool) {
    	switch g {
    	case gvr.AuthorizationPolicy:
    		return AuthorizationPolicy, true
    	case gvr.CertificateSigningRequest:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top