Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for sccs (0.18 sec)

  1. internal/jwt/parser.go

    	c.Issuer = issuer
    }
    
    // SetAudience sets audience for these claims
    func (c *StandardClaims) SetAudience(aud string) {
    	c.Audience = aud
    }
    
    // SetExpiry sets expiry in unix epoch secs
    func (c *StandardClaims) SetExpiry(t time.Time) {
    	c.ExpiresAt = t.Unix()
    }
    
    // SetAccessKey sets access key as jwt subject and custom
    // "accessKey" field.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  2. istioctl/pkg/precheck/precheck.go

    		}
    	}
    	return nil
    }
    
    func checkExternalNameAlias(cli kube.CLIClient, messages *diag.Messages) error {
    	svcs, err := cli.Kube().CoreV1().Services(metav1.NamespaceAll).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return err
    	}
    	for _, svc := range svcs.Items {
    		if svc.Spec.Type != corev1.ServiceTypeExternalName {
    			continue
    		}
    		res := ObjectToInstance(&svc)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. src/archive/tar/strconv.go

    	}
    
    	// If seconds is negative, then perform correction.
    	sign := ""
    	if secs < 0 {
    		sign = "-"             // Remember sign
    		secs = -(secs + 1)     // Add a second to secs
    		nsecs = -(nsecs - 1e9) // Take that second away from nsecs
    	}
    	return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0")
    }
    
    // parsePAXRecord parses the input PAX record string into a key-value pair.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  4. internal/http/dial_linux.go

    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, 5)
    
    			// Wait time after successful probe in seconds.
    			// ~ cat /proc/sys/net/ipv4/tcp_keepalive_intvl (defaults to 75 secs, we reduce it to 15 secs)
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPINTVL, 15)
    
    			// Set tcp user timeout in addition to the keep-alive - tcp-keepalive is not enough to close a socket
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jun 07 16:53:05 GMT 2023
    - 4.4K bytes
    - Viewed (3)
  5. istioctl/pkg/describe/describe.go

    			printPod(writer, pod, opts.Revision)
    
    			svcs, err := client.Kube().CoreV1().Services(ns).List(context.TODO(), metav1.ListOptions{})
    			if err != nil {
    				return err
    			}
    
    			matchingServices := make([]corev1.Service, 0, len(svcs.Items))
    			for _, svc := range svcs.Items {
    				if len(svc.Spec.Selector) > 0 {
    					svcSelector := klabels.SelectorFromSet(svc.Spec.Selector)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	duration, err := time.ParseDuration(durationStr)
    	if err != nil {
    		duration = globalNetPerfMinDuration
    	}
    
    	if duration < globalNetPerfMinDuration {
    		// We need sample size of minimum 10 secs.
    		duration = globalNetPerfMinDuration
    	}
    
    	duration = duration.Round(time.Second)
    
    	results, err := globalSiteReplicationSys.Netperf(ctx, duration)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  7. src/archive/zip/reader.go

    				ts := int64(attrBuf.uint64()) // ModTime since Windows epoch
    				secs := ts / ticksPerSecond
    				nsecs := (1e9 / ticksPerSecond) * (ts % ticksPerSecond)
    				epoch := time.Date(1601, time.January, 1, 0, 0, 0, 0, time.UTC)
    				modified = time.Unix(epoch.Unix()+secs, nsecs)
    			}
    		case unixExtraID, infoZipUnixExtraID:
    			if len(fieldBuf) < 8 {
    				continue parseExtras
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  8. cmd/server-main.go

    		haddrs, err := globalDNSCache.LookupHost(ctx, host)
    		if err == nil {
    			for _, addr := range haddrs {
    				addrs.Add(net.JoinHostPort(addr, globalMinioPort))
    			}
    		} else {
    			// Unable to lookup host in 2-secs, let it fail later anyways.
    			addrs.Add(globalMinioAddr)
    		}
    	} else {
    		addrs.Add(globalMinioAddr)
    	}
    	return addrs.ToSlice()
    }
    
    // serverMain handler called for 'minio server' command.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  9. istioctl/pkg/writer/ztunnel/configdump/services.go

    	zDump := c.ztunnelDump
    	svcs := slices.Filter(maps.Values(zDump.Services), filter.Verify)
    	slices.SortFunc(svcs, func(a, b *ZtunnelService) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		if r := cmp.Compare(a.Name, b.Name); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Hostname, b.Hostname)
    	})
    	out, err := json.MarshalIndent(svcs, "", "    ")
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top