Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for 0666 (0.02 sec)

  1. .github/workflows/build.yml

            # https://github.blog/changelog/2023-02-23-hardware-accelerated-android-virtualization-on-actions-windows-and-linux-larger-hosted-runners/
            run: |
              echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
              sudo udevadm control --reload-rules
              sudo udevadm trigger --name-match=kvm
    
          - name: Setup Gradle
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Aug 17 10:05:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. src/archive/zip/writer_test.go

    	Method uint16
    	Mode   fs.FileMode
    }
    
    var writeTests = []WriteTest{
    	{
    		Name:   "foo",
    		Data:   []byte("Rabbits, guinea pigs, gophers, marsupial rats, and quolls."),
    		Method: Store,
    		Mode:   0666,
    	},
    	{
    		Name:   "bar",
    		Data:   nil, // large data set in the test
    		Method: Deflate,
    		Mode:   0644,
    	},
    	{
    		Name:   "setuid",
    		Data:   []byte("setuid file"),
    		Method: Deflate,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. misc/go_android_exec/main.go

    	// See https://github.com/golang/go/issues/23795 or
    	// https://issuetracker.google.com/issues/73230216.
    	lockPath := filepath.Join(os.TempDir(), "go_android_exec-adb-lock")
    	lock, err := os.OpenFile(lockPath, os.O_CREATE|os.O_RDWR, 0666)
    	if err != nil {
    		return 0, err
    	}
    	defer lock.Close()
    	if err := syscall.Flock(int(lock.Fd()), syscall.LOCK_EX); err != nil {
    		return 0, err
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  4. src/archive/tar/tar_test.go

    			Name:     "dev/null",
    			Mode:     0666,
    			Size:     0,
    			ModTime:  time.Unix(1360578951, 0),
    			Typeflag: TypeChar,
    		},
    		fm: 0666 | fs.ModeDevice | fs.ModeCharDevice,
    	}, {
    		// block device node.
    		h: &Header{
    			Name:     "dev/sda",
    			Mode:     0660,
    			Size:     0,
    			ModTime:  time.Unix(1360578954, 0),
    			Typeflag: TypeBlock,
    		},
    		fm: 0660 | fs.ModeDevice,
    	}, {
    		// directory.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. src/archive/zip/struct.go

    func (h *FileHeader) hasDataDescriptor() bool {
    	return h.Flags&0x8 != 0
    }
    
    func msdosModeToFileMode(m uint32) (mode fs.FileMode) {
    	if m&msdosDir != 0 {
    		mode = fs.ModeDir | 0777
    	} else {
    		mode = 0666
    	}
    	if m&msdosReadOnly != 0 {
    		mode &^= 0222
    	}
    	return mode
    }
    
    func fileModeToUnixMode(mode fs.FileMode) uint32 {
    	var m uint32
    	switch mode & fs.ModeType {
    	default:
    		m = s_IFREG
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(converter.convert("-0xFF")).isEqualTo((Integer) (-255));
        assertThat(converter.convert("#0000FF")).isEqualTo((Integer) 255);
        assertThat(converter.convert("0666")).isEqualTo((Integer) 438);
      }
    
      public void testStringConverter_convertError() {
        assertThrows(NumberFormatException.class, () -> Ints.stringConverter().convert("notanumber"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(converter.convert("-0xFF")).isEqualTo((Long) (-255L));
        assertThat(converter.convert("#0000FF")).isEqualTo((Long) 255L);
        assertThat(converter.convert("0666")).isEqualTo((Long) 438L);
      }
    
      public void testStringConverter_convertError() {
        assertThrows(NumberFormatException.class, () -> Longs.stringConverter().convert("notanumber"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. cmd/bucket-metadata_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteBytes(z.PolicyConfigJSON)
    	if err != nil {
    		err = msgp.WrapError(err, "PolicyConfigJSON")
    		return
    	}
    	// write "NotificationConfigXML"
    	err = en.Append(0xb5, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x58, 0x4d, 0x4c)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. cmd/batch-expire_gen.go

    	}
    	// write "Prefix"
    	err = en.Append(0xa6, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78)
    	if err != nil {
    		return
    	}
    	err = z.Prefix.EncodeMsg(en)
    	if err != nil {
    		err = msgp.WrapError(err, "Prefix")
    		return
    	}
    	// write "NotificationCfg"
    	err = en.Append(0xaf, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x66, 0x67)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. cmd/metacache_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.root)
    	if err != nil {
    		err = msgp.WrapError(err, "root")
    		return
    	}
    	// write "fnf"
    	err = en.Append(0xa3, 0x66, 0x6e, 0x66)
    	if err != nil {
    		return
    	}
    	err = en.WriteBool(z.fileNotFound)
    	if err != nil {
    		err = msgp.WrapError(err, "fileNotFound")
    		return
    	}
    	// write "stat"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
Back to top