Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for testDots (0.19 sec)

  1. src/net/lookup_test.go

    		t.Skip("no resolv.conf on iOS")
    	}
    
    	defer dnsWaitGroup.Wait()
    
    	if fixup := forceGoDNS(); fixup != nil {
    		testDots(t, "go")
    		fixup()
    	}
    	if fixup := forceCgoDNS(); fixup != nil {
    		testDots(t, "cgo")
    		fixup()
    	}
    }
    
    func testDots(t *testing.T, mode string) {
    	names, err := LookupAddr("8.8.8.8") // Google dns server
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/resources/test_ops.cc

    Feng Liu <******@****.***> 1602113375 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 07 23:35:35 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  3. pkg/kubelet/logs/container_log_manager_test.go

    	logs, err := os.ReadDir(dir)
    	require.NoError(t, err)
    	assert.Len(t, logs, 5)
    	assert.Equal(t, testLogs[0], logs[0].Name())
    	assert.Equal(t, testLogs[1]+"."+timestamp, logs[1].Name())
    	assert.Equal(t, testLogs[4]+compressSuffix, logs[2].Name())
    	assert.Equal(t, testLogs[2]+"."+timestamp, logs[3].Name())
    	assert.Equal(t, testLogs[3], logs[4].Name())
    }
    
    func TestClean(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. pkg/scheduler/internal/cache/cache_test.go

    		podsToAssume: []*v1.Pod{testPods[0]},
    		podsToAdd:    []*v1.Pod{testPods[0]},
    		podsToUpdate: []*v1.Pod{testPods[0], testPods[1], testPods[0]},
    		wNodeInfo: []*framework.NodeInfo{newNodeInfo(
    			&framework.Resource{
    				MilliCPU: 200,
    				Memory:   1024,
    			},
    			&framework.Resource{
    				MilliCPU: 200,
    				Memory:   1024,
    			},
    			[]*v1.Pod{testPods[1]},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  5. test/makeslice.go

    	"unsafe"
    )
    
    func main() {
    	n := -1
    	testInts(uint64(n))
    	testBytes(uint64(n))
    
    	var t *byte
    	if unsafe.Sizeof(t) == 8 {
    		// Test mem > maxAlloc
    		testInts(1 << 59)
    
    		// Test elem.size*cap overflow
    		testInts(1<<63 - 1)
    
    		testInts(1<<64 - 1)
    		testBytes(1<<64 - 1)
    	} else {
    		testInts(1<<31 - 1)
    
    		// Test elem.size*cap overflow
    		testInts(1<<32 - 1)
    		testBytes(1<<32 - 1)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 07 17:50:24 UTC 2020
    - 5.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/buildlifecycle/basic/tests/buildlifecycle.out

    > Configure project :
    This is executed during the configuration phase.
    This is executed during the configuration phase as well, because :testBoth is used in the build.
    
    > Task :test
    This is executed during the execution phase.
    
    > Task :testBoth
    This is executed first during the execution phase.
    This is executed last during the execution phase.
    
    BUILD SUCCESSFUL in 0s
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 452 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/buildlifecycle/basic/groovy/build.gradle

            println 'This is executed during the execution phase.'
        }
    }
    
    tasks.register('testBoth') {
    	doFirst {
    	  println 'This is executed first during the execution phase.'
    	}
    	doLast {
    	  println 'This is executed last during the execution phase.'
    	}
    	println 'This is executed during the configuration phase as well, because :testBoth is used in the build.'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 607 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/buildlifecycle/basic/kotlin/build.gradle.kts

        }
    }
    
    tasks.register("testBoth") {
        doFirst {
            println("This is executed first during the execution phase.")
        }
        doLast {
            println("This is executed last during the execution phase.")
        }
        println("This is executed during the configuration phase as well, because :testBoth is used in the build.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 638 bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/nodes_test.go

    	testPos(t, exprs, "package p; var _ = T{ ", " }",
    		func(f *File) Node { return f.DeclList[0].(*VarDecl).Values.(*CompositeLit).ElemList[0] },
    	)
    
    	// embed types in a function  signature so we can test ... types
    	testPos(t, types, "package p; func f(", ")",
    		func(f *File) Node { return f.DeclList[0].(*FuncDecl).Type.ParamList[0].Type },
    	)
    
    	testPos(t, fields, "package p; func f(", ")",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 18:45:06 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/preemption/preemption_test.go

    		nodes              []*v1.Node
    		testPods           []*v1.Pod
    		initPods           []*v1.Pod
    		numViolatingVictim int
    		expected           [][]Candidate
    	}{
    		{
    			name: "no pdb violation",
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(veryLargeRes).Obj(),
    				st.MakeNode().Name("node2").Capacity(veryLargeRes).Obj(),
    			},
    			testPods: []*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top