Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for getWtp (0.11 sec)

  1. maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

        private static class OptionComparator implements Comparator<Option> {
            public int compare(Option opt1, Option opt2) {
                String s1 = opt1.getOpt() != null ? opt1.getOpt() : opt1.getLongOpt();
                String s2 = opt2.getOpt() != null ? opt2.getOpt() : opt2.getLongOpt();
                return s1.compareToIgnoreCase(s2);
            }
        }
    
        private static class CLIManagerExtension extends CLIManager {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt

    Method <org.gradle.plugins.ide.eclipse.model.EclipseModel.getSynchronizationTasks()> does not have raw return type assignable to org.gradle.api.provider.Provider in (EclipseModel.java:0)
    Method <org.gradle.plugins.ide.eclipse.model.EclipseModel.getWtp()> does not have raw return type assignable to org.gradle.api.provider.Property in (EclipseModel.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 160.5K bytes
    - Viewed (0)
  3. pkg/kubelet/util/manager/cache_based_manager.go

    	clock     clock.Clock
    
    	lock  sync.Mutex
    	items map[objectKey]*objectStoreItem
    
    	defaultTTL time.Duration
    	getTTL     GetObjectTTLFunc
    }
    
    // NewObjectStore returns a new ttl-based instance of Store interface.
    func NewObjectStore(getObject GetObjectFunc, clock clock.Clock, getTTL GetObjectTTLFunc, ttl time.Duration) Store {
    	return &objectStore{
    		getObject:  getObject,
    		clock:      clock,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. security/pkg/util/jwtutil.go

    // limitations under the License.
    
    package util
    
    import (
    	"bytes"
    	"encoding/base64"
    	"encoding/json"
    	"fmt"
    	"strings"
    	"time"
    )
    
    // GetExp returns token expiration time, or error on failures.
    func GetExp(token string) (time.Time, error) {
    	claims, err := parseJwtClaims(token)
    	if err != nil {
    		return time.Time{}, err
    	}
    
    	if claims["exp"] == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/DistributionIntegrationSpec.groovy

        }
    
        protected TestFile unpackDistribution(type = getDistributionLabel(), TestFile into = testDirectory) {
            TestFile zip = getZip(type)
            zip.usingNativeTools().unzipTo(into)
            assert into.listFiles().size() == 1
            into.listFiles()[0]
        }
    
        protected TestFile getZip(String type = getDistributionLabel()) {
            switch (type) {
                case 'bin':
                    buildContext.binDistribution
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/tracing.go

    		ServiceName: serviceName,
    	}
    
    	if otelProvider.GetHttp() == nil {
    		// export via gRPC
    		oc.GrpcService = &core.GrpcService{
    			TargetSpecifier: &core.GrpcService_EnvoyGrpc_{
    				EnvoyGrpc: &core.GrpcService_EnvoyGrpc{
    					ClusterName: cluster,
    					Authority:   hostname,
    				},
    			},
    		}
    	} else {
    		// export via HTTP
    		httpService := otelProvider.GetHttp()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. security/pkg/util/jwtutil_test.go

    			expectedExp: time.Time{},
    			expectedErr: fmt.Errorf("failed to decode the JWT claims"),
    		},
    	}
    
    	for id, tc := range testCases {
    		t.Run(id, func(t *testing.T) {
    			exp, err := GetExp(tc.jwt)
    			if err != nil && tc.expectedErr == nil || err == nil && tc.expectedErr != nil {
    				t.Errorf("%s: Got error \"%v\", expected error \"%v\"", id, err, tc.expectedErr)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. src/internal/syscall/windows/syscall_windows.go

    const (
    	LOCKFILE_FAIL_IMMEDIATELY = 0x00000001
    	LOCKFILE_EXCLUSIVE_LOCK   = 0x00000002
    )
    
    const MB_ERR_INVALID_CHARS = 8
    
    //sys	GetACP() (acp uint32) = kernel32.GetACP
    //sys	GetConsoleCP() (ccp uint32) = kernel32.GetConsoleCP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. security/pkg/credentialfetcher/plugin/gce.go

    		}
    	}
    }
    
    func (p *GCEPlugin) shouldRotate(now time.Time) bool {
    	p.tokenMutex.RLock()
    	defer p.tokenMutex.RUnlock()
    
    	if p.tokenCache == "" {
    		return true
    	}
    	exp, err := util.GetExp(p.tokenCache)
    	// When fails to get expiration time from token, always refresh the token.
    	if err != nil || exp.IsZero() {
    		return true
    	}
    	rotate := now.After(exp.Add(-gracePeriod))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. pkg/kubelet/util/manager/cache_based_manager_test.go

    	}
    }
    
    func newSecretStore(fakeClient clientset.Interface, clock clock.Clock, getTTL GetObjectTTLFunc, ttl time.Duration) *objectStore {
    	return &objectStore{
    		getObject:  getSecret(fakeClient),
    		clock:      clock,
    		items:      make(map[objectKey]*objectStoreItem),
    		defaultTTL: ttl,
    		getTTL:     getTTL,
    	}
    }
    
    func getSecretNames(pod *v1.Pod) sets.Set[string] {
    	result := sets.New[string]()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top