Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 469 for atom (0.04 sec)

  1. src/syscall/ztypes_linux_386.go

    	Mode      uint32
    	Nlink     uint32
    	Uid       uint32
    	Gid       uint32
    	Rdev      uint64
    	X__pad2   uint16
    	Pad_cgo_1 [2]byte
    	Size      int64
    	Blksize   int32
    	Blocks    int64
    	Atim      Timespec
    	Mtim      Timespec
    	Ctim      Timespec
    	Ino       uint64
    }
    
    type Statfs_t struct {
    	Type    int32
    	Bsize   int32
    	Blocks  uint64
    	Bfree   uint64
    	Bavail  uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  2. internal/mountinfo/mountinfo_linux.go

    		if len(fields) != expectedNumFieldsPerLine {
    			// ignore incorrect lines.
    			continue
    		}
    
    		// Freq should be an integer.
    		if _, err := strconv.Atoi(fields[4]); err != nil {
    			return nil, err
    		}
    
    		// Pass should be an integer.
    		if _, err := strconv.Atoi(fields[5]); err != nil {
    			return nil, err
    		}
    
    		mounts = append(mounts, mountInfo{
    			Device:  fields[0],
    			Path:    fields[1],
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  3. internal/config/notify/parse.go

    		if err != nil {
    			return nil, err
    		}
    
    		clientAuthEnv := target.EnvKafkaTLSClientAuth
    		if k != config.Default {
    			clientAuthEnv = clientAuthEnv + config.Default + k
    		}
    		clientAuth, err := strconv.Atoi(env.Get(clientAuthEnv, kv.Get(target.KafkaTLSClientAuth)))
    		if err != nil {
    			return nil, err
    		}
    
    		topicEnv := target.EnvKafkaTopic
    		if k != config.Default {
    			topicEnv = topicEnv + config.Default + k
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  4. src/os/stat_aix.go

    func stTimespecToTime(ts syscall.StTimespec_t) time.Time {
    	return time.Unix(int64(ts.Sec), int64(ts.Nsec))
    }
    
    // For testing.
    func atime(fi FileInfo) time.Time {
    	return stTimespecToTime(fi.Sys().(*syscall.Stat_t).Atim)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner_llvm.go

    	} else {
    		switch split := strings.Split(fileline, ":"); len(split) {
    		case 3:
    			// filename:line:column
    			if col, err := strconv.Atoi(split[2]); err == nil {
    				columnnumber = col
    			}
    			fallthrough
    		case 2:
    			// filename:line
    			if line, err := strconv.Atoi(split[1]); err == nil {
    				linenumber = line
    			}
    			fallthrough
    		case 1:
    			// filename
    			fileline = split[0]
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/os/stat_linux.go

    		fs.mode |= ModeSetuid
    	}
    	if fs.sys.Mode&syscall.S_ISVTX != 0 {
    		fs.mode |= ModeSticky
    	}
    }
    
    // For testing.
    func atime(fi FileInfo) time.Time {
    	return time.Unix(fi.Sys().(*syscall.Stat_t).Atim.Unix())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/os/stat_openbsd.go

    		fs.mode |= ModeSetuid
    	}
    	if fs.sys.Mode&syscall.S_ISVTX != 0 {
    		fs.mode |= ModeSticky
    	}
    }
    
    // For testing.
    func atime(fi FileInfo) time.Time {
    	return time.Unix(fi.Sys().(*syscall.Stat_t).Atim.Unix())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. pkg/probe/util.go

    	case intstr.Int:
    		port = param.IntValue()
    	case intstr.String:
    		if port, err = findPortByName(container, param.StrVal); err != nil {
    			// Last ditch effort - maybe it was an int stored as string?
    			if port, err = strconv.Atoi(param.StrVal); err != nil {
    				return port, err
    			}
    		}
    	default:
    		return port, fmt.Errorf("intOrString had no kind: %+v", param)
    	}
    	if port > 0 && port < 65536 {
    		return port, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 19 16:51:52 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. src/runtime/testdata/testprogcgo/cgo.go

    		return
    	}
    	fmt.Printf("OK\n")
    }
    
    func CgoTraceback() {
    	C.foo1()
    	buf := make([]byte, 1)
    	runtime.Stack(buf, true)
    	fmt.Printf("OK\n")
    }
    
    func CgoCheckBytes() {
    	try, _ := strconv.Atoi(os.Getenv("GO_CGOCHECKBYTES_TRY"))
    	if try <= 0 {
    		try = 1
    	}
    	b := make([]byte, 1e6*try)
    	start := time.Now()
    	for i := 0; i < 1e3*try; i++ {
    		C.foo2(unsafe.Pointer(&b[0]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 13:20:27 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  10. tests/preload_suits_test.go

    	}
    
    	var got2 Level2
    	if err := DB.Preload("Level1s").Find(&got2, "value = ?", "Tom").Error; err != nil {
    		t.Error(err)
    	}
    
    	if !reflect.DeepEqual(got2, want2) {
    		t.Errorf("got %s; want %s", toJSONString(got2), toJSONString(want2))
    	}
    
    	var got3 []Level2
    	if err := DB.Preload("Level1s").Find(&got3, "value IN (?)", []string{"Bob", "Tom"}).Error; err != nil {
    		t.Error(err)
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
Back to top