Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 919 for unixOS (1.02 sec)

  1. src/net/unixsock_windows_test.go

    	if !windows.SupportUnixSocket() {
    		t.Skip("unix test")
    	}
    	handler := func(ls *localServer, ln Listener) {}
    	for _, laddr := range []string{"", testUnixAddr(t)} {
    		laddr := laddr
    		taddr := testUnixAddr(t)
    		ta, err := ResolveUnixAddr("unix", taddr)
    		if err != nil {
    			t.Fatal(err)
    		}
    		ln, err := ListenUnix("unix", ta)
    		if err != nil {
    			t.Fatal(err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 17:24:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/app/fds_unix.go

    // limitations under the License.
    
    package app
    
    import "golang.org/x/sys/unix"
    
    func raiseFileLimits() (uint64, error) {
    	rlimit := unix.Rlimit{}
    	if err := unix.Getrlimit(unix.RLIMIT_NOFILE, &rlimit); err != nil {
    		return 0, err
    	}
    	rlimit.Cur = rlimit.Max
    	if err := unix.Setrlimit(unix.RLIMIT_NOFILE, &rlimit); err != nil {
    		return 0, err
    	}
    
    	return rlimit.Cur, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 22:16:26 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. pkg/serviceaccount/claims_test.go

    		{
    			name: "deleted now",
    			time: &metav1.Time{Time: time.Unix(nowUnix, 0)},
    		},
    		{
    			name: "deleted near past",
    			time: &metav1.Time{Time: time.Unix(nowUnix-1, 0)},
    		},
    		{
    			name: "deleted near future",
    			time: &metav1.Time{Time: time.Unix(nowUnix+1, 0)},
    		},
    		{
    			name: "deleted now-leeway",
    			time: &metav1.Time{Time: time.Unix(nowUnix-60, 0)},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultConfigurableFilePermissions.java

                    other.unix(getOtherPartOf(normalizedPermissions));
                }
            } catch (IllegalArgumentException cause) {
                throw new InvalidUserDataException("'" + unixNumericOrSymbolic + "' isn't a proper Unix permission. " + cause.getMessage());
            }
        }
    
        @Override
        public void unix(int unixNumeric) {
            user.unix(getUserPartOf(unixNumeric));
            group.unix(getGroupPartOf(unixNumeric));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/os/OperatingSystemTest.groovy

            OperatingSystem.current() instanceof OperatingSystem.Unix
        }
    
        def "UNIX identifies itself correctly"() {
            def os = new OperatingSystem.Unix()
    
            expect:
            !os.windows
            os.unix
            !os.macOsX
        }
    
        def "UNIX does not transform script names"() {
            def os = new OperatingSystem.Unix()
    
            expect:
            os.getScriptName("a.sh") == "a.sh"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  6. src/crypto/rand/rand_getrandom.go

    }
    
    // If the kernel is too old to support the getrandom syscall(),
    // unix.GetRandom will immediately return ENOSYS and we will then fall back to
    // reading from /dev/urandom in rand_unix.go. unix.GetRandom caches the ENOSYS
    // result so we only suffer the syscall overhead once in this case.
    // If the kernel supports the getrandom() syscall, unix.GetRandom will block
    // until the kernel has sufficient randomness (as we don't use GRND_NONBLOCK).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:26:43 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/platform/internal/NativePlatforms.java

            platforms.add(createPlatform(freebsd, ppc64));
    
            platforms.add(createPlatform(unix, x86));
            platforms.add(createPlatform(unix, x64));
            platforms.add(createPlatform(unix, armv7));
            platforms.add(createPlatform(unix, aarch64));
            platforms.add(createPlatform(unix, ppc));
            platforms.add(createPlatform(unix, ppc64));
    
            platforms.add(createPlatform(linux, x64));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. src/net/unixsock.go

    		return nil
    	}
    	return a
    }
    
    // ResolveUnixAddr returns an address of Unix domain socket end point.
    //
    // The network must be a Unix network name.
    //
    // See func [Dial] for a description of the network and address
    // parameters.
    func ResolveUnixAddr(network, address string) (*UnixAddr, error) {
    	switch network {
    	case "unix", "unixgram", "unixpacket":
    		return &UnixAddr{Name: address, Net: network}, nil
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. pkg/proxy/util/nfacct/handler.go

    		// netlink message header
    		// (definition: https://github.com/torvalds/linux/blob/v6.7/include/uapi/linux/netlink.h#L44-L58)
    		NlMsghdr: unix.NlMsghdr{
    			Len:   uint32(unix.SizeofNlMsghdr),
    			Type:  uint16(cmd | (unix.NFNL_SUBSYS_ACCT << 8)),
    			Flags: flags,
    		},
    		Sockets: map[int]*nl.SocketHandle{
    			unix.NETLINK_NETFILTER: {Socket: n.socket},
    		},
    		Data: []nl.NetlinkRequestData{
    			// netfilter generic message
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/internal/plugins/UnixStartScriptGeneratorTest.groovy

            then:
            destination.toString().contains("CLASSPATH=\$APP_HOME/path/to/Jar.jar")
        }
    
        def "unix script uses unix line separator"() {
            given:
            JavaAppStartScriptGenerationDetails details = createScriptGenerationDetails(null, 'bin')
            Writer destination = new StringWriter()
    
            when:
            generator.generateScript(details, destination)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top