Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 152 for svctest (0.27 sec)

  1. platforms/documentation/docs/src/snippets/swift/testReport/groovy/util/src/test/swift/UtilTest.swift

    import XCTest
    
    class UtilTest: XCTestCase {
        public static var allTests = [
            ("testOk", testOk)
        ]
        func testOk() {
            print("hello from UtilTest.")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 178 bytes
    - Viewed (0)
  2. src/net/internal/socktest/switch_unix.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix || (js && wasm) || wasip1
    
    package socktest
    
    // Sockets maps a socket descriptor to the status of socket.
    type Sockets map[int]Status
    
    func (sw *Switch) sockso(s int) *Status {
    	sw.smu.RLock()
    	defer sw.smu.RUnlock()
    	so, ok := sw.sotab[s]
    	if !ok {
    		return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:54:10 UTC 2023
    - 718 bytes
    - Viewed (0)
  3. src/go/doc/example_test.go

    func ExampleGreet_world() {
    	Greet("world")
    }
    `
    
    	// Create the AST by parsing src and test.
    	fset := token.NewFileSet()
    	files := []*ast.File{
    		mustParse(fset, "src.go", src),
    		mustParse(fset, "src_test.go", test),
    	}
    
    	// Compute package documentation with examples.
    	p, err := doc.NewFromFiles(fset, files, "example.com/p")
    	if err != nil {
    		panic(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/httproute.go

    				for svcHost := range servicesByName {
    					if host.Name(h).Matches(svcHost) {
    						match = true
    						break
    					}
    				}
    			} else {
    				// If non wildcard vs host isn't be found in service map, only loop through
    				// wildcard service hosts to avoid repeated matching.
    				for _, svcHost := range wcSvcHosts {
    					if host.Name(h).Matches(svcHost) {
    						match = true
    						break
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/embedded_test.go

    )
    
    func TestDecodeEmptyRawExtensionAsObject(t *testing.T) {
    	internalGV := schema.GroupVersion{Group: "test.group", Version: runtime.APIVersionInternal}
    	externalGV := schema.GroupVersion{Group: "test.group", Version: "v1test"}
    	externalGVK := externalGV.WithKind("ObjectTest")
    
    	s := runtime.NewScheme()
    	s.AddKnownTypes(internalGV, &runtimetesting.ObjectTest{})
    	s.AddKnownTypeWithName(externalGVK, &runtimetesting.ObjectTestExternal{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 06 16:07:10 UTC 2020
    - 9.2K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster.go

    		} else {
    			if subset == "" {
    				sets.InsertOrNew(serviceClusters, string(svcHost), cluster)
    			} else {
    				sets.InsertOrNew(subsetClusters, string(svcHost), cluster)
    			}
    			if servicePortClusters[string(svcHost)] == nil {
    				servicePortClusters[string(svcHost)] = make(map[int]string)
    			}
    			servicePortClusters[string(svcHost)][port] = cluster
    		}
    	}
    
    	for key := range updates.ConfigsUpdated {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  7. src/net/main_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"flag"
    	"fmt"
    	"net/internal/socktest"
    	"os"
    	"runtime"
    	"slices"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    )
    
    var (
    	sw socktest.Switch
    
    	// uninstallTestHooks runs just before a run of benchmarks.
    	testHookUninstaller sync.Once
    )
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestSelection.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.test.xctest.internal.execution;
    
    import com.google.common.collect.ImmutableList;
    import org.apache.commons.lang.StringUtils;
    
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.Iterator;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitClassLevelFilteringIntegrationTest.groovy

            """
            file('src/test/java/SubClass.java') << """
                ${testFrameworkImports}
    
                public class SubClass extends SuperClass {
                    @Test
                    public void subTest() {
                    }
                }
            """
    
            when:
            succeeds('test', '--tests', 'SubClass.superTest')
    
            then:
            new DefaultTestExecutionResult(testDirectory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. src/net/internal/socktest/switch.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package socktest provides utilities for socket testing.
    package socktest
    
    import (
    	"fmt"
    	"sync"
    )
    
    // A Switch represents a callpath point switch for socket system
    // calls.
    type Switch struct {
    	once sync.Once
    
    	fmu   sync.RWMutex
    	fltab map[FilterType]Filter
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top