Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 147 for onetmp (0.21 sec)

  1. src/net/netip/export_test.go

    // Copyright 2021 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 netip
    
    import "unique"
    
    var (
    	Z0    = z0
    	Z4    = z4
    	Z6noz = z6noz
    )
    
    type Uint128 = uint128
    
    type AddrDetail = addrDetail
    
    func Mk128(hi, lo uint64) Uint128 {
    	return uint128{hi, lo}
    }
    
    func MkAddr(u Uint128, z unique.Handle[AddrDetail]) Addr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:14:15 UTC 2024
    - 730 bytes
    - Viewed (0)
  2. pkg/registry/core/service/ipallocator/controller/repairip.go

    // ipToAddr converts a net.IP to a netip.Addr
    // if the net.IP is not valid it returns an empty netip.Addr{}
    func ipToAddr(ip net.IP) netip.Addr {
    	// https://pkg.go.dev/net/netip#AddrFromSlice can return an IPv4 in IPv6 format
    	// so we have to check the IP family to return exactly the format that we want
    	// address, _ := netip.AddrFromSlice(net.ParseIPSloppy(192.168.0.1)) returns
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/AbstractManagedExecutor.java

                }
            } catch (InterruptedException e) {
                delegate.shutdownNow();
                throw UncheckedException.throwAsUncheckedException(e);
            }
            executorPolicy.onStop();
        }
    
        @Override
        public void setKeepAlive(int timeout, TimeUnit timeUnit) {
            if (delegate instanceof ThreadPoolExecutor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/net/dnsconfig_unix.go

    // license that can be found in the LICENSE file.
    
    //go:build !windows
    
    // Read system DNS config from /etc/resolv.conf
    
    package net
    
    import (
    	"internal/bytealg"
    	"internal/stringslite"
    	"net/netip"
    	"time"
    )
    
    // See resolv.conf(5) on a Linux machine.
    func dnsReadConfig(filename string) *dnsConfig {
    	conf := &dnsConfig{
    		ndots:    1,
    		timeout:  5 * time.Second,
    		attempts: 2,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:14:43 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. pkg/config/security/security.go

    func ValidateIPs(ips []string) error {
    	var errs *multierror.Error
    	for _, v := range ips {
    		if strings.Contains(v, "/") {
    			if _, err := netip.ParsePrefix(v); err != nil {
    				errs = multierror.Append(errs, fmt.Errorf("bad CIDR range (%s): %v", v, err))
    			}
    		} else {
    			if _, err := netip.ParseAddr(v); err != nil {
    				errs = multierror.Append(errs, fmt.Errorf("bad IP address (%s)", v))
    			}
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:43:34 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/net/ip.go

    	}
    
    	if len(ip) != IPv4len && len(ip) != IPv6len {
    		return "?" + hexString(ip)
    	}
    	// If IPv4, use dotted notation.
    	if p4 := ip.To4(); len(p4) == IPv4len {
    		return netip.AddrFrom4([4]byte(p4)).String()
    	}
    	return netip.AddrFrom16([16]byte(ip)).String()
    }
    
    func hexString(b []byte) string {
    	s := make([]byte, len(b)*2)
    	for i, tn := range b {
    		s[i*2], s[i*2+1] = hexDigit[tn>>4], hexDigit[tn&0xf]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. pkg/kube/inject/validate.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package inject
    
    import (
    	"fmt"
    	"net/netip"
    	"strconv"
    	"strings"
    
    	"github.com/hashicorp/go-multierror"
    
    	"istio.io/api/annotation"
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/config/mesh"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. pilot/cmd/pilot-agent/app/cmd.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package app
    
    import (
    	"context"
    	"fmt"
    	"net"
    	"net/netip"
    	"strings"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/api/annotation"
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pilot/cmd/pilot-agent/config"
    	"istio.io/istio/pilot/cmd/pilot-agent/options"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. cni/pkg/iptables/iptables.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package iptables
    
    import (
    	"errors"
    	"fmt"
    	"net/netip"
    	"strings"
    
    	"istio.io/istio/cni/pkg/ipset"
    	"istio.io/istio/cni/pkg/scopes"
    	"istio.io/istio/tools/istio-iptables/pkg/builder"
    	iptablesconfig "istio.io/istio/tools/istio-iptables/pkg/config"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals("999.999KB", MemoryUtil.byteCountToDisplaySize(999_999L));
            assertEquals("1000KB", MemoryUtil.byteCountToDisplaySize(1000_000L));
            assertEquals("1.024MB", MemoryUtil.byteCountToDisplaySize(FileUtils.ONE_MB));
            assertEquals("976.562MB", MemoryUtil.byteCountToDisplaySize(999_999_999L));
            assertEquals("976.562MB", MemoryUtil.byteCountToDisplaySize(1000_000_000L));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top