Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for 0640 (0.12 sec)

  1. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/services/GenericFileSystemTest.groovy

            def file = new File("does-not-exist")
    
            given:
            fileModeMutator.chmod(_, _) >> { throw failure }
    
            when:
            fileSystem.chmod(file, 0640)
    
            then:
            FileException e = thrown()
            e.message == "Could not set file mode 640 on '$file'."
        }
    
        def "wraps failure to get file mode"() {
            def failure = new RuntimeException()
            def file = new File("does-not-exist")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/kube-proxy/app/conntrack.go

    	if err != nil {
    		return -1, err
    	}
    	return strconv.Atoi(strings.TrimSpace(string(b)))
    }
    
    func writeIntStringFile(filename string, value int) error {
    	return os.WriteFile(filename, []byte(strconv.Itoa(value)), 0640)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/runtime/traceback_system_test.go

    	getPC := func(line string) (uint64, error) {
    		_, pcstr, ok := strings.Cut(line, " pc=") // e.g. pc=0x%x
    		if !ok {
    			return 0, fmt.Errorf("no pc= for stack frame: %s", line)
    		}
    		return strconv.ParseUint(pcstr, 0, 64) // 0 => allow 0x prefix
    	}
    
    	var (
    		pcs            []uintptr
    		parentSentinel uint64
    		childSentinel  = sentinel()
    		on             = false // are we in the first running goroutine?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    				Name:     "small.txt",
    				Size:     5,
    				Mode:     0640,
    				Uid:      73025,
    				Gid:      5000,
    				Uname:    "dsymonds",
    				Gname:    "eng",
    				ModTime:  time.Unix(1246508266, 0),
    			}, nil},
    			testWrite{"Kilts", 5, nil},
    
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "small2.txt",
    				Size:     11,
    				Mode:     0640,
    				Uid:      73025,
    				Uname:    "dsymonds",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    	getPC := func(line string) (uint64, error) {
    		_, pcstr, ok := strings.Cut(line, " pc=") // e.g. pc=0x%x
    		if !ok {
    			return 0, fmt.Errorf("no pc= for stack frame: %s", line)
    		}
    		return strconv.ParseUint(pcstr, 0, 64) // 0 => allow 0x prefix
    	}
    
    	var (
    		pcs            []uintptr
    		parentSentinel uint64
    		childSentinel  = sentinel()
    		on             = false // are we in the first running goroutine?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. pkg/volume/projected/projected.go

    		case source.ServiceAccountToken != nil:
    			tp := source.ServiceAccountToken
    
    			// When FsGroup is set, we depend on SetVolumeOwnership to
    			// change from 0600 to 0640.
    			mode := *s.source.DefaultMode
    			if mounterArgs.FsUser != nil || mounterArgs.FsGroup != nil {
    				mode = 0600
    			}
    
    			var auds []string
    			if len(tp.Audience) != 0 {
    				auds = []string{tp.Audience}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. pkg/volume/util/atomic_writer_test.go

    					"bar": {Mode: 0644, Data: []byte("bar")},
    				},
    				{
    					"foo": {Mode: 0644, Data: []byte("foo2")},
    					"bar": {Mode: 0644, Data: []byte("bar2")},
    				},
    				{
    					"foo": {Mode: 0644, Data: []byte("foo3")},
    					"bar": {Mode: 0644, Data: []byte("bar3")},
    				},
    				{
    					"foo": {Mode: 0644, Data: []byte("foo4")},
    					"bar": {Mode: 0644, Data: []byte("bar4")},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/x86/asm6.go

    		}
    
    		ab.rexflag |= regrex[int(a.Index)]&Rxx | regrex[base]&Rxb | rex
    		if base == REG_NONE {
    			ab.Put1(byte(0<<6 | 4<<0 | r<<3))
    			ab.asmidx(ctxt, int(a.Scale), int(a.Index), base)
    			goto putrelv
    		}
    
    		if v == 0 && rel.Siz == 0 && base != REG_BP && base != REG_R13 {
    			ab.Put1(byte(0<<6 | 4<<0 | r<<3))
    			ab.asmidx(ctxt, int(a.Scale), int(a.Index), base)
    			return
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  9. src/cmd/internal/testdir/testdir_test.go

    		lines[line] += " // ERROR"
    		for _, e := range sorted {
    			lines[line] += fmt.Sprintf(` "%s$"`, e)
    		}
    	}
    	// Write new file.
    	err = os.WriteFile(file, []byte(strings.Join(lines, "\n")), 0640)
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		return
    	}
    	// Polish.
    	exec.Command(goTool, "fmt", file).CombinedOutput()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    FDAE          ; mapped                 ; 064A 062D 064A #1.1  ARABIC LIGATURE YEH WITH HAH WITH YEH FINAL FORM
    FDAF          ; mapped                 ; 064A 062C 064A #1.1  ARABIC LIGATURE YEH WITH JEEM WITH YEH FINAL FORM
    FDB0          ; mapped                 ; 064A 0645 064A #1.1  ARABIC LIGATURE YEH WITH MEEM WITH YEH FINAL FORM
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
Back to top