Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 76 for fn_name (0.25 sec)

  1. utils/utils_test.go

    package utils
    
    import (
    	"database/sql"
    	"database/sql/driver"
    	"errors"
    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestIsValidDBNameChar(t *testing.T) {
    	for _, db := range []string{"db", "dbName", "db_name", "db1", "1dbname", "db$name"} {
    		if fields := strings.FieldsFunc(db, IsValidDBNameChar); len(fields) != 1 {
    			t.Fatalf("failed to parse db name %v", db)
    		}
    	}
    }
    
    func TestCheckTruth(t *testing.T) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Feb 19 03:42:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. cni/pkg/cmd/root.go

    func registerEnvironment[T env.Parseable](name string, defaultValue T, usage string) {
    	envName := strings.Replace(strings.ToUpper(name), "-", "_", -1)
    	// Note: we do not rely on istio env package to retrieve configuration. We relies on viper.
    	// This is just to make sure the reference doc tool can generate doc with these vars as env variable at istio.io.
    	env.Register(envName, defaultValue, usage)
    	bindViper(name)
    }
    
    func bindViper(name string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemLocationSnapshot.java

         *
         * The comparison is stable with respect to case sensitivity, so the order of the children is stable across operating systems.
         */
        Comparator<FileSystemLocationSnapshot> BY_NAME = Comparator.comparing(FileSystemLocationSnapshot::getName, PathUtil::compareFileNames);
    
        /**
         * The file name.
         */
        String getName();
    
        /**
         * The absolute path of the file.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 15:09:45 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/crypto/x509/verify.go

    // VerifyOptions contains parameters for Certificate.Verify.
    type VerifyOptions struct {
    	// DNSName, if set, is checked against the leaf certificate with
    	// Certificate.VerifyHostname or the platform verifier.
    	DNSName string
    
    	// Intermediates is an optional pool of certificates that are not trust
    	// anchors, but can be used to form a chain from the leaf certificate to a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/upgrade/compute_test.go

    	// Kubernetes release.
    	for _, rt := range tests {
    		t.Run(rt.name, func(t *testing.T) {
    
    			dnsName := constants.CoreDNSDeploymentName
    
    			client := newMockClientForTest(t, dnsName, rt.beforeDNSVersion, rt.deployDNSFailed)
    
    			actualUpgrades, actualErr := GetAvailableUpgrades(rt.vg, rt.allowExperimental, rt.allowRCs, client, &output.TextPrinter{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 08:39:51 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/os/OperatingSystem.java

        public static OperatingSystem current() {
            if (currentOs == null) {
                currentOs = forName(System.getProperty("os.name"));
            }
            return currentOs;
        }
    
        // for testing current()
        static void resetCurrent() {
            currentOs = null;
        }
    
        public static OperatingSystem forName(String os) {
            String osName = os.toLowerCase(Locale.ROOT);
            if (osName.contains("windows")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/AbstractTaskOutputCachingPerformanceTest.groovy

            context.iteration == firstWarmupWithCache && context.phase == Phase.WARM_UP
        }
    
        String getRemoteCacheSettingsScript() {
            """
                def httpCacheClass = Class.forName('org.gradle.caching.http.HttpBuildCache')
                buildCache {
                    local {
                        directory = '${cacheDir.absoluteFile.toURI()}'
                    }
                    remote(httpCacheClass) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/WellKnownClassLoaderRegistry.java

                        switch (knownClassLoaderSpec.id) {
                            case PLATFORM_CLASS_LOADER_ID:
                                return Class.forName(className, false, PLATFORM_CLASS_LOADER);
                            default:
                                throw new IllegalArgumentException("Unknown ClassLoader id specified.");
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/devicemanager/manager.go

    	m.pendingAdmissionPod = pod
    }
    
    func (m *ManagerImpl) isContainerAlreadyRunning(podUID, cntName string) bool {
    	cntID, err := m.containerMap.GetContainerID(podUID, cntName)
    	if err != nil {
    		klog.V(4).InfoS("container not found in the initial map, assumed NOT running", "podUID", podUID, "containerName", cntName, "err", err)
    		return false
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SystemClassLoaderTest.groovy

                        // Check that this is a dependency (to verify that the class is not accidentally removed and so make the test verify nothing)
                        assert Class.forName(nonLauncherOrCoreClass) != null
    
                        try {
                            def clazz = systemLoader.loadClass(nonLauncherOrCoreClass)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top