Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,272 for unixOS (0.13 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/tableconvertor/tableconvertor_test.go

    					Items: []metav1beta1.PartialObjectMetadata{
    						{ObjectMeta: metav1.ObjectMeta{Name: "blah", CreationTimestamp: metav1.NewTime(time.Unix(1, 0))}},
    						{ObjectMeta: metav1.ObjectMeta{Name: "blah-2", CreationTimestamp: metav1.NewTime(time.Unix(2, 0))}},
    					},
    				},
    				tableOptions: nil,
    			},
    			want: &metav1.Table{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginUnixShellsIntegrationTest.groovy

        def "can execute generated Unix start script in Bash"() {
            given:
            succeeds('installDist')
    
            when:
            runViaUnixStartScript("bash")
    
            then:
            outputContains('Hello World!')
        }
    
        @Requires([UnitTestPreconditions.UnixDerivative, PluginTestPreconditions.DashAvailable])
        def "can execute generated Unix start script in Dash"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/outbuf_freebsd.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build freebsd && go1.21
    
    package ld
    
    import (
    	"internal/syscall/unix"
    	"syscall"
    )
    
    func (out *OutBuf) fallocate(size uint64) error {
    	err := unix.PosixFallocate(int(out.f.Fd()), 0, int64(size))
    	// ZFS on FreeBSD does not support posix_fallocate and returns EINVAL in that case.
    	if err == syscall.EINVAL {
    		return errNoFallocate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 14:17:36 UTC 2023
    - 515 bytes
    - Viewed (0)
  4. src/internal/testenv/testenv_notunix.go

    //go:build windows || plan9 || (js && wasm) || wasip1
    
    package testenv
    
    import (
    	"errors"
    	"io/fs"
    	"os"
    )
    
    // Sigquit is the signal to send to kill a hanging subprocess.
    // On Unix we send SIGQUIT, but on non-Unix we only have os.Kill.
    var Sigquit = os.Kill
    
    func syscallIsNotSupported(err error) bool {
    	return errors.Is(err, fs.ErrPermission) || errors.Is(err, errors.ErrUnsupported)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 05:22:00 UTC 2023
    - 550 bytes
    - Viewed (0)
  5. src/internal/syscall/unix/nonblocking_unix.go

    // Copyright 2018 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.
    
    //go:build unix
    
    package unix
    
    import "syscall"
    
    func IsNonblock(fd int) (nonblocking bool, err error) {
    	flag, e1 := Fcntl(fd, syscall.F_GETFL, 0)
    	if e1 != nil {
    		return false, e1
    	}
    	return flag&syscall.O_NONBLOCK != 0, nil
    }
    
    func HasNonblockFlag(flag int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 09:15:25 UTC 2023
    - 468 bytes
    - Viewed (0)
  6. src/runtime/testdata/testprogcgo/trace_unix.c

    // Copyright 2023 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.
    
    //go:build unix
    
    // The unix C definitions for trace.go. That file uses //export so
    // it can't put function definitions in the "C" import comment.
    
    #include <pthread.h>
    #include <assert.h>
    
    extern void goCalledFromC(void);
    extern void goCalledFromCThread(void);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 19:18:12 UTC 2023
    - 688 bytes
    - Viewed (0)
  7. pkg/kubelet/pod_workers_test.go

    			},
    			expect: hasContext(&podSyncStatus{
    				fullname:           "running-pod_ns",
    				syncedAt:           time.Unix(1, 0),
    				startedAt:          time.Unix(3, 0),
    				terminatingAt:      time.Unix(3, 0),
    				terminatedAt:       time.Unix(6, 0),
    				gracePeriod:        30,
    				startedTerminating: true,
    				restartRequested:   true, // because we received a create during termination
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  8. internal/jwt/parser_test.go

    		defaultKeyFunc,
    		&MapClaims{
    			MapClaims: jwt.MapClaims{
    				"foo": "bar",
    				"exp": float64(time.Now().Unix() - 100),
    			},
    		},
    		false,
    		-1,
    	},
    	{
    		"basic nbf",
    		"", // autogen
    		defaultKeyFunc,
    		&MapClaims{
    			MapClaims: jwt.MapClaims{
    				"foo": "bar",
    				"nbf": float64(time.Now().Unix() + 100),
    			},
    		},
    		false,
    		-1,
    	},
    	{
    		"expired and nbf",
    		"", // autogen
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 6K bytes
    - Viewed (0)
  9. internal/disk/stat_solaris.go

    package disk
    
    import (
    	"errors"
    	"fmt"
    
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := unix.Statvfs_t{}
    	if err = unix.Statvfs(path, &s); err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := uint64(s.Bfree) - uint64(s.Bavail)
    	info = Info{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    			},
    			expected: &kubecontainer.Status{
    				ID:         *cid,
    				Image:      imageSpec.Image,
    				State:      kubecontainer.ContainerStateExited,
    				CreatedAt:  time.Unix(0, createdAt),
    				StartedAt:  time.Unix(0, startedAt),
    				FinishedAt: time.Unix(0, finishedAt),
    				ExitCode:   121,
    				Reason:     "GotKilled",
    				Message:    "The container was killed",
    			},
    		},
    		"unknown container": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top