- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for newPoller (0.11 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/configuration/configuration_manager_test.go
fakeGetSucceedLock.RLock() defer fakeGetSucceedLock.RUnlock() if fakeGetSucceed { return nil, nil } else { return nil, fmt.Errorf("this error shouldn't be exposed to caller") } } poller := newPoller(fakeGetFn) poller.bootstrapGracePeriod = 100 * time.Second poller.bootstrapRetries = math.MaxInt32 // set failureThreshold to 0 so that one single failure will set "ready" to false. poller.failureThreshold = 0
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 06 02:02:38 UTC 2017 - 2.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/configuration/configuration_manager.go
ready bool mergedConfiguration runtime.Object lastErr error // lock must be hold when reading/writing the data fields of poller. lock sync.RWMutex } func newPoller(get getFunc) *poller { p := poller{ get: get, interval: defaultInterval, failureThreshold: defaultFailureThreshold, bootstrapRetries: defaultBootstrapRetries,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 06 02:02:38 UTC 2017 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/TestWithTempFiles.kt
val tempFolder = TestNameTestDirectoryProvider(javaClass) protected val root: File get() = tempFolder.testDirectory /** * See [org.junit.rules.TemporaryFolder.newFolder] */ fun newFolder(): File = tempFolder.testDirectory.createDir() protected fun file(fileName: String): File = tempFolder.testDirectory.file(fileName) protected
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/JavaConventionPluginTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/callback/main.go
func (p *GoCallback) Run() string { return "GoCallback.Run" } func testCall() { c := NewCaller() cb := NewCallback() c.SetCallback(cb) s := c.Call() if s != "Callback::run" { fatal("unexpected string from Call: %q", s) } c.DelCallback() } func testCallback() { c := NewCaller() cb := NewDirectorCallback(&GoCallback{}) c.SetCallback(cb) s := c.Call() if s != "GoCallback.Run" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:07 UTC 2023 - 1K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/JavaConventionPluginTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/kotlin/buildSrc/src/test/kotlin/com/example/JavaConventionPluginTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/ProjectAccessorsClassPathTest.kt
ConfigurationEntry("implementation"), ConfigurationEntry("compile", listOf("api", "implementation")) ) ) val srcDir = newFolder("src") val binDir = newFolder("bin") withClassLoaderFor(binDir) { // when: buildAccessorsFromSourceFor( schema, testRuntimeClassPath,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 19:59:56 UTC 2023 - 18.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/TestWithClassPath.kt
internal fun TestWithTempFiles.classPathWithType(name: String, vararg modifiers: Int): ClassPath = classPathOf( newFolder().also { rootDir -> writeClassFileTo(rootDir, name, *modifiers) } ) internal fun TestWithTempFiles.classPathWith(builder: ClassPathBuilderScope.() -> Unit): ClassPath = classPathOf(newFolder().also { builder(ClassPathBuilderScope(it)) }) internal class ClassPathBuilderScope(val outputDir: File)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.4K bytes - Viewed (0) -
cmd/data-usage_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Mar 27 15:10:40 UTC 2024 - 14.1K bytes - Viewed (0)