Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 318 for getOld (0.12 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryConcurrencyTest.groovy

                    return 123
                }
            })
    
            expect:
            10.times {
                start {
                    assert registry.getAll(Number).sort() == [12, 123]
                    assert registry.getAll(String).sort() == ["12", "123"]
                }
            }
        }
    
        def "cannot look up services while closing"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    //sysnb	Geteuid() (uid int)
    //sysnb	Getgid() (gid int)
    //sysnb	Getpgid(pid int) (pgid int, err error)
    //sysnb	Getpgrp() (pgrp int)
    //sysnb	Getpid() (pid int)
    //sysnb	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    //sysnb	Getrusage(who int, rusage *Rusage) (err error)
    //sysnb	Getsid(pid int) (sid int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/instrumentation-agent-services/src/integTest/groovy/org/gradle/internal/instrumentation/agent/AgentApplicationTest.groovy

            int currentSize = daemons.getRegistry().getAll().size()
            if (shouldApplyAgent != null) {
                withAgentApplied(shouldApplyAgent)
            }
            def daemon = executer.noExtraLogging().withArgument("--foreground").start()
            // Wait for foreground daemon to be ready
            poll() { assert daemons.getRegistry().getAll().size() == (currentSize + 1) }
            return daemon
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceProvider.java

         */
        @Nullable Service getFactory(Class<?> type);
    
        /**
         * Collects all services of the given type.
         *
         * @return A visitor that should be used for all subsequent services.
         */
        Visitor getAll(Class<?> serviceType, Visitor visitor);
    
        interface Visitor {
            void visit(Service service);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. pkg/features/client_adapter_test.go

    		t.Error("expected Enabled(\"Bar\") to panic due to unknown feature name")
    	}
    }
    
    func TestClientAdapterAdd(t *testing.T) {
    	fg := featuregate.NewFeatureGate()
    	a := &clientAdapter{fg}
    	defaults := fg.GetAll()
    	if err := a.Add(map[clientfeatures.Feature]clientfeatures.FeatureSpec{
    		"FeatureAlpha":      {PreRelease: clientfeatures.Alpha, Default: true},
    		"FeatureBeta":       {PreRelease: clientfeatures.Beta, Default: false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 16 17:51:00 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. security/pkg/util/jwtutil_test.go

    		},
    		"two audiences list": {
    			jwt: twoAudList,
    			aud: []string{"abc", "xyz"},
    		},
    	}
    
    	for id, tc := range testCases {
    		t.Run(id, func(t *testing.T) {
    			if got, _ := GetAud(tc.jwt); !reflect.DeepEqual(tc.aud, got) {
    				t.Errorf("want audience %v but got %v", tc.aud, got)
    			}
    		})
    	}
    }
    
    func TestBase64UrlPartDecoding(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/force_xla_constants_on_host_pass.cc

      auto pflr = std::make_unique<ProcessFunctionLibraryRuntime>(
          nullptr, options.session_options->env, /*config=*/nullptr,
          TF_GRAPH_DEF_VERSION, options.flib_def, opts);
      FunctionLibraryRuntime* flr =
          pflr->GetFLR(ProcessFunctionLibraryRuntime::kDefaultFLRDevice);
    
      for (Node* node : graph->nodes()) {
        if (CanCreateXlaKernel(node->def())) {
          const FunctionBody* fbody = nullptr;
          std::vector<int> constant_arg_indices;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py

    import os
    from pathlib import Path
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(scope="module")
    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial002 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

    import os
    from pathlib import Path
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(scope="module")
    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial001 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonExpirationStrategyTest.groovy

            final String uid = UUID.randomUUID().toString()
            final int id = registry.getAll().size() + 1
            final long lastIdleTime = lastIdle == -1L ? id * 1000 : lastIdle;
            Address daemonAddress = createAddress(id)
            DaemonContext context = Mock(DaemonContext) {
                _ * getUid() >> uid
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top