Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 175 for Unix (0.2 sec)

  1. cni/pkg/nodeagent/net_test.go

    // limitations under the License.
    
    package nodeagent
    
    import (
    	"context"
    	"errors"
    	"net/netip"
    	"runtime"
    	"sync/atomic"
    	"testing"
    	"time"
    
    	"golang.org/x/sys/unix"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/intstr"
    
    	"istio.io/istio/cni/pkg/ipset"
    	"istio.io/istio/cni/pkg/iptables"
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/ztunnelserver_test.go

    	if err != nil {
    		panic(err)
    	}
    
    	receivedoob := oob[:oobn]
    	msgs, err := unix.ParseSocketControlMessage(receivedoob)
    	if err != nil {
    		panic(err)
    	}
    
    	// we should get 0 or 1 oob messages
    	if len(msgs) != 0 {
    		assert.Equal(t, len(msgs), 1)
    	}
    
    	var fdss []int
    	for _, msg := range msgs {
    		fds, err := unix.ParseUnixRights(&msg)
    		if err != nil {
    			panic(err)
    		}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/StandardSystemProperty.java

      OS_ARCH("os.arch"),
    
      /** Operating system version. */
      OS_VERSION("os.version"),
    
      /** File separator ("/" on UNIX). */
      FILE_SEPARATOR("file.separator"),
    
      /** Path separator (":" on UNIX). */
      PATH_SEPARATOR("path.separator"),
    
      /** Line separator ("\n" on UNIX). */
      LINE_SEPARATOR("line.separator"),
    
      /** User's account name. */
      USER_NAME("user.name"),
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. schema/serializer.go

    	switch v := fieldValue.(type) {
    	case int64, int, uint, uint64, int32, uint32, int16, uint16:
    		result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC()
    	case *int64, *int, *uint, *uint64, *int32, *uint32, *int16, *uint16:
    		if rv.IsZero() {
    			return nil, nil
    		}
    		result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC()
    	default:
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 08:28:46 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. internal/grid/muxserver.go

    		ctx, cancel = context.WithCancel(ctx)
    	}
    	m := muxServer{
    		ID:        msg.MuxID,
    		RecvSeq:   msg.Seq + 1,
    		SendSeq:   msg.Seq,
    		ctx:       ctx,
    		cancel:    cancel,
    		parent:    c,
    		LastPing:  time.Now().Unix(),
    		BaseFlags: c.baseFlags,
    	}
    	go func() {
    		// TODO: Handle
    	}()
    
    	return &m
    }
    
    func newMuxStream(ctx context.Context, msg message, c *Connection, handler StreamHandler) *muxServer {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. internal/disk/stat_linux.go

    	st := syscall.Stat_t{}
    	err = syscall.Stat(path, &st)
    	if err != nil {
    		return Info{}, err
    	}
    	//nolint:unconvert
    	devID := uint64(st.Dev) // Needed to support multiple GOARCHs
    	info.Major = unix.Major(devID)
    	info.Minor = unix.Minor(devID)
    
    	// Check for overflows.
    	// https://github.com/minio/minio/issues/8035
    	// XFS can show wrong values at times error out
    	// in such scenarios.
    	if info.Free > info.Total {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. cni/pkg/plugin/cnieventclient.go

    	c := &http.Client{
    		Transport: &http.Transport{
    			DialContext: func(_ context.Context, _, _ string) (net.Conn, error) {
    				return net.Dial("unix", address)
    			},
    		},
    		Timeout: 1000 * time.Millisecond,
    	}
    	eventC := CNIEventClient{
    		client: c,
    		url:    "http://unix" + path,
    	}
    	return eventC
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. apache-maven/src/assembly/component.xml

            <include>mvn</include>
            <include>mvnDebug</include>
            <!-- This is so that CI systems can periodically run the profiler -->
            <include>mvnyjp</include>
          </includes>
          <lineEnding>unix</lineEnding>
          <fileMode>0755</fileMode>
        </fileSet>
        <fileSet>
          <directory>src/assembly/maven/conf</directory>
          <outputDirectory>conf</outputDirectory>
        </fileSet>
        <fileSet>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Jun 04 19:03:41 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  9. apache-maven/src/assembly/shared/init

    CLASSWORLDS_CONF="$MAVEN_HOME/bin/m2.conf"
    
    # For Cygwin and MinGW, ensure paths are in Unix format before anything is touched
    if $cygwin || $mingw ; then
      [ -n "$JAVA_HOME" ] &&
        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
    fi
    
    if [ -n "$JAVA_HOME" ] ; then
      if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
        # IBM's JDK on AIX uses strange locations for the executables
        JAVACMD="$JAVA_HOME/jre/sh/java"
      else
        JAVACMD="$JAVA_HOME/bin/java"
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Mar 05 22:52:54 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  10. tests/serializer_test.go

    	}
    
    	createdAt := time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC)
    	updatedAt := createdAt.Unix()
    
    	data := SerializerStruct{
    		Name:            []byte("jinzhu"),
    		Roles:           []string{"r1", "r2"},
    		Contracts:       map[string]interface{}{"name": "jinzhu", "age": 10},
    		EncryptedString: EncryptedString("pass"),
    		CreatedTime:     createdAt.Unix(),
    		UpdatedTime:     &updatedAt,
    		JobInfo: Job{
    			Title:    "programmer",
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 21 14:09:38 GMT 2023
    - 7.6K bytes
    - Viewed (0)
Back to top