Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 469 for atom (0.13 sec)

  1. src/time/zoneinfo_plan9.go

    			return UTC, nil
    		}
    		return nil, errBadData
    	}
    
    	var zones [2]zone
    
    	// standard timezone offset
    	o, err := atoi(f[1])
    	if err != nil {
    		return nil, errBadData
    	}
    	zones[0] = zone{name: f[0], offset: o, isDST: false}
    
    	// alternate timezone offset
    	o, err = atoi(f[3])
    	if err != nil {
    		return nil, errBadData
    	}
    	zones[1] = zone{name: f[2], offset: o, isDST: true}
    
    	// transition time pairs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 16 23:09:19 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/plan9/syscall_plan9.go

    			p = i + 1
    			nf++
    		}
    	}
    	f[nf] = buf[p:]
    	nf++
    
    	if nf != len(f) {
    		return syscall.ErrorString("invalid wait message")
    	}
    	w.Pid = int(atoi(f[0]))
    	w.Time[0] = uint32(atoi(f[1]))
    	w.Time[1] = uint32(atoi(f[2]))
    	w.Time[2] = uint32(atoi(f[3]))
    	w.Msg = cstring(f[4])
    	if w.Msg == "''" {
    		// await() returns '' for no error
    		w.Msg = ""
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. src/syscall/ztypes_linux_arm64.go

    	Uid               uint32
    	Gid               uint32
    	Rdev              uint64
    	X__pad1           uint64
    	Size              int64
    	Blksize           int32
    	X__pad2           int32
    	Blocks            int64
    	Atim              Timespec
    	Mtim              Timespec
    	Ctim              Timespec
    	X__glibc_reserved [2]int32
    }
    
    type Statfs_t struct {
    	Type    int64
    	Bsize   int64
    	Blocks  uint64
    	Bfree   uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go

    }
    
    // In order to only have Timespec structure, type of Stat_t's fields
    // Atim, Mtim and Ctim is changed from StTimespec to Timespec during
    // ztypes generation.
    // On ppc64, Timespec.Nsec is an int64 while StTimespec.Nsec is an
    // int32, so the fields' value must be modified.
    func fixStatTimFields(stat *Stat_t) {
    	stat.Atim.Nsec >>= 32
    	stat.Mtim.Nsec >>= 32
    	stat.Ctim.Nsec >>= 32
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. internal/config/heal/heal.go

    	}
    	cfg.IOCount, err = strconv.Atoi(env.Get(EnvIOCount, kvs.GetWithDefault(IOCount, DefaultKVS)))
    	if err != nil {
    		return cfg, fmt.Errorf("'heal:max_io' value invalid: %w", err)
    	}
    	if ws := env.Get(EnvDriveWorkers, kvs.GetWithDefault(DriveWorkers, DefaultKVS)); ws != "" {
    		w, err := strconv.Atoi(ws)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/os/user/listgroups_unix.go

    	"io"
    	"os"
    	"strconv"
    )
    
    func listGroupsFromReader(u *User, r io.Reader) ([]string, error) {
    	if u.Username == "" {
    		return nil, errors.New("user: list groups: empty username")
    	}
    	primaryGid, err := strconv.Atoi(u.Gid)
    	if err != nil {
    		return nil, fmt.Errorf("user: list groups for %s: invalid gid %q", u.Username, u.Gid)
    	}
    
    	userCommas := []byte("," + u.Username + ",")  // ,john,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. src/syscall/syscall_plan9.go

    			p = i + 1
    			nf++
    		}
    	}
    	f[nf] = buf[p:]
    	nf++
    
    	if nf != len(f) {
    		return NewError("invalid wait message")
    	}
    	w.Pid = int(atoi(f[0]))
    	w.Time[0] = uint32(atoi(f[1]))
    	w.Time[1] = uint32(atoi(f[2]))
    	w.Time[2] = uint32(atoi(f[3]))
    	w.Msg = cstring(f[4])
    	if w.Msg == "''" {
    		// await() returns '' for no error
    		w.Msg = ""
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/strconv/doc.go

    // Package strconv implements conversions to and from string representations
    // of basic data types.
    //
    // # Numeric Conversions
    //
    // The most common numeric conversions are [Atoi] (string to int) and [Itoa] (int to string).
    //
    //	i, err := strconv.Atoi("-42")
    //	s := strconv.Itoa(-42)
    //
    // These assume decimal and the Go int type.
    //
    // [ParseBool], [ParseFloat], [ParseInt], and [ParseUint] convert strings to values:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

        # Consider if there is a way to check if activation fusion is properly
        # done in MLIR level.
        # Tests that the quantized graph outputs similar values. The rtol and atol
        # values are arbitrary.
        self.assertAllClose(new_outputs, expected_outputs, rtol=0.3, atol=0.2)
    
        # Due to other meta data, the compression is not exactly 1/4.
        self.assertLess(
            testing.get_size_ratio(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  10. tools/istio-iptables/pkg/capture/run_linux.go

    			if err != nil {
    				return fmt.Errorf("failed to find 'lo' link: %v", err)
    			}
    			tproxyTable, err := strconv.Atoi(cfg.InboundTProxyRouteTable)
    			if err != nil {
    				return fmt.Errorf("failed to parse InboundTProxyRouteTable: %v", err)
    			}
    			tproxyMark, err := strconv.Atoi(cfg.InboundTProxyMark)
    			if err != nil {
    				return fmt.Errorf("failed to parse InboundTProxyMark: %v", err)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top