Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,444 for runFix (0.14 sec)

  1. 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)
  2. pkg/util/flock/flock_unix.go

    limitations under the License.
    */
    
    package flock
    
    import "golang.org/x/sys/unix"
    
    // Acquire acquires a lock on a file for the duration of the process. This method
    // is reentrant.
    func Acquire(path string) error {
    	fd, err := unix.Open(path, unix.O_CREAT|unix.O_RDWR|unix.O_CLOEXEC, 0600)
    	if err != nil {
    		return err
    	}
    
    	// We don't need to close the fd since we should hold
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. subprojects/core-api/src/main/java/org/gradle/api/internal/file/ConfigurableUserClassFilePermissionsInternal.java

        /**
         * Sets the permission for a specific class of users from a PARTIAL Unix-style symbolic permission
         * (i.e. 3 alphanumeric characters; see {@link ConfigurableFilePermissions#unix(String)} for details).
         */
        void unix(String unixSymbolic);
    
        /**
         * Sets the permission for a specific class of users based on a PARTIAL Unix-style numeric permission
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 26 08:05:50 UTC 2023
    - 1.4K 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. internal/disk/directio_unix.go

    }
    
    // DisableDirectIO - disables directio mode.
    func DisableDirectIO(f *os.File) error {
    	fd := f.Fd()
    	flag, err := unix.FcntlInt(fd, unix.F_GETFL, 0)
    	if err != nil {
    		return err
    	}
    	flag &= ^(syscall.O_DIRECT)
    	_, err = unix.FcntlInt(fd, unix.F_SETFL, flag)
    	return err
    }
    
    // AlignedBlock - pass through to directio implementation.
    func AlignedBlock(blockSize int) []byte {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 17 14:31:36 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. 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)
  10. src/archive/tar/reader_test.go

    			Size:       5,
    			ModTime:    time.Unix(1244592783, 0),
    			Typeflag:   '0',
    			Uname:      "dsymonds",
    			Gname:      "eng",
    			AccessTime: time.Unix(1244592783, 0),
    			ChangeTime: time.Unix(1244592783, 0),
    		}, {
    			Name:       "small2.txt",
    			Mode:       0640,
    			Uid:        73025,
    			Gid:        5000,
    			Size:       11,
    			ModTime:    time.Unix(1244592783, 0),
    			Typeflag:   '0',
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
Back to top