Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for gotPings (0.14 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection_test.go

    		case <-timeout:
    			srvErr <- fmt.Errorf("server: timeout waiting for connection to close")
    			return
    		case <-srvSPDYConn.CloseChan():
    		}
    
    		// Count pings sent by the server.
    		gotPings := atomic.LoadInt64(&pingsSent)
    		if gotPings < 1 {
    			t.Errorf("server: failed to send any pings (check logs)")
    		}
    	}()
    
    	// Set up client connection.
    	clConn, err := net.Dial("tcp4", listener.Addr().String())
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 11:58:57 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/config_test.go

    			}
    
    			gotKinds := []string{}
    			for gvk := range gvkmap {
    				gotKinds = append(gotKinds, gvk.Kind)
    			}
    
    			sort.Strings(gotKinds)
    
    			if !reflect.DeepEqual(gotKinds, test.expectedKinds) {
    				t.Fatalf("kinds not matching:\n\texpectedKinds: %v\n\tgotKinds: %v\n", test.expectedKinds, gotKinds)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/ToolingApiEclipseModelCrossVersionSpec.groovy

    import org.gradle.tooling.model.eclipse.EclipseProject
    
    @TargetGradleVersion('>=3.1')
    class ToolingApiEclipseModelCrossVersionSpec extends ToolingApiSpecification {
    
        def "Eclipse model can contain GStrings"() {
            given:
            buildFile << """
                apply plugin: 'eclipse'
                eclipse {
                    project {
                        name = "\${'root'}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. test/fixedbugs/issue44739.go

    // load/store on ppc64/ppc64le causes assembler error.
    
    // Test other 8 byte loads and stores where the
    // compile time offset is not aligned to 8, as
    // well as cases where the offset is not known
    // until link time (e.g. gostrings).
    
    package main
    
    import (
    	"fmt"
    )
    
    type T struct {
    	x [4]byte
    	y [8]byte
    }
    
    var st T
    
    const (
    	gostring1 = "abc"
    	gostring2 = "defghijk"
    	gostring3 = "lmnopqrs"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 10 19:33:23 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractIncompleteFileSystemNodeTest.groovy

            1 * selectedChild.store(searchedPath.pathFromChild(selectedChildPath), CASE_SENSITIVE, snapshot, diffListener) >> updatedChild
        }
    
        def "querying the snapshot for non-existing child #vfsSpec.searchedPath finds nothings (#vfsSpec)"() {
            setupTest(vfsSpec)
    
            when:
            def resultRoot = initialRoot.getSnapshot(searchedPath, CASE_SENSITIVE)
            then:
            !resultRoot.present
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/CompileOptionsTest.groovy

            compileOptions.fork = false
            compileOptions.define(debug: true)
    
            expect:
            compileOptions.debug
            !compileOptions.fork
        }
    
        def "converts GStrings to Strings when getting all compiler arguments"() {
            given:
            compileOptions.compilerArgs << "Foo${23}"
    
            expect:
            compileOptions.allCompilerArgs.contains('Foo23')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/NormalizingJavaCompiler.java

            return hasExtension(input, ".java");
        }
    
        private void resolveNonStringsInCompilerArgs(JavaCompileSpec spec) {
            // in particular, this is about GStrings
            spec.getCompileOptions().setCompilerArgs(CollectionUtils.toStringList(spec.getCompileOptions().getCompilerArgs()));
        }
    
        private void logSourceFiles(JavaCompileSpec spec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/providers/services/kotlin/build.gradle.kts

        }
    }
    
    abstract class MyWorkerTask
    @Inject constructor(private var workerExecutor: WorkerExecutor) : DefaultTask() {
        @get:Input
        abstract val booleanFlag: Property<Boolean>
        @TaskAction
        fun doThings() {
            workerExecutor.noIsolation().submit(MyWorkAction::class.java) {}
        }
    }
    
    tasks.register("myWorkTask", MyWorkerTask::class) {}
    // end::worker-executor[]
    
    // tag::file-system[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/NormalizingScalaCompiler.java

                LOGGER.debug("Class path: {}", spec.getCompileClasspath());
            }
        }
    
        private void resolveNonStringsInCompilerArgs(ScalaJavaJointCompileSpec spec) {
            // in particular, this is about GStrings
            spec.getCompileOptions().setCompilerArgs(CollectionUtils.toStringList(spec.getCompileOptions().getCompilerArgs()));
        }
    
        private void logSourceFiles(ScalaJavaJointCompileSpec spec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/NormalizingGroovyCompiler.java

                }
            });
    
            spec.setSourceFiles(ImmutableSet.copyOf(filtered));
        }
    
        private void resolveNonStringsInCompilerArgs(GroovyJavaJointCompileSpec spec) {
            // in particular, this is about GStrings
            spec.getCompileOptions().setCompilerArgs(CollectionUtils.toStringList(spec.getCompileOptions().getCompilerArgs()));
        }
    
        private void logSourceFiles(GroovyJavaJointCompileSpec spec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top