- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 175 for Cur (0.02 sec)
-
src/cmd/compile/internal/liveness/intervals.go
var ret Intervals var pv pairVisitor cur := pv.init(is, is2) for { second := pv.nxt() if second.done() { break } // Check for overlap between cur and second. If no overlap // then add cur to result and move on. if !cur.i.Overlaps(second.i) && !cur.i.adjacent(second.i) { ret = append(ret, cur.i) cur = second continue } // cur overlaps with second; merge second into cur
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:27 UTC 2024 - 10K bytes - Viewed (0) -
src/syscall/syscall_linux_mipsx.go
err = prlimit(0, resource, rlim, nil) if err != ENOSYS { return err } rl := rlimit32{} if rlim.Cur == rlimInf64 { rl.Cur = rlimInf32 } else if rlim.Cur < uint64(rlimInf32) { rl.Cur = uint32(rlim.Cur) } else { return EINVAL } if rlim.Max == rlimInf64 { rl.Max = rlimInf32 } else if rlim.Max < uint64(rlimInf32) { rl.Max = uint32(rlim.Max)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 6.8K bytes - Viewed (0) -
src/syscall/rlimit_darwin.go
func adjustFileLimit(lim *Rlimit) { // On older macOS, setrlimit(RLIMIT_NOFILE, lim) with lim.Cur = infinity fails. // Set to the value of kern.maxfilesperproc instead. n, err := SysctlUint32("kern.maxfilesperproc") if err != nil { return } if lim.Cur > uint64(n) { lim.Cur = uint64(n) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 15 17:18:32 UTC 2023 - 593 bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java
List<FileEntry> infos = new ArrayList<>(); do { FileBothDirectoryInfo cur = createFileInfo(); if ( cur == null ) { break; } cur.decode(buffer, bufferIndex, bufferLength); infos.add(cur); int nextEntryOffset = cur.getNextEntryOffset(); if ( nextEntryOffset > 0 ) { bufferIndex += nextEntryOffset;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan13.go
arg->Buf[0] = 0; } static void* spin(void *arg) { size_t n; struct timeval tvstart, tvnow; int diff; void *prev; void *cur; prev = NULL; gettimeofday(&tvstart, NULL); for (n = 0; n < 1<<20; n++) { cur = malloc(n); free(prev); prev = cur; gettimeofday(&tvnow, NULL); diff = (tvnow.tv_sec - tvstart.tv_sec) * 1000 * 1000 + (tvnow.tv_usec - tvstart.tv_usec);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan9.go
#include <stdlib.h> #include <sys/time.h> void spin() { size_t n; struct timeval tvstart, tvnow; int diff; void *prev = NULL, *cur; gettimeofday(&tvstart, NULL); for (n = 0; n < 1<<20; n++) { cur = malloc(n); free(prev); prev = cur; gettimeofday(&tvnow, NULL); diff = (tvnow.tv_sec - tvstart.tv_sec) * 1000 * 1000 + (tvnow.tv_usec - tvstart.tv_usec);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.3K bytes - Viewed (0) -
pkg/test/framework/components/echo/kube/pod_controller.go
AddFunc: func(pod *corev1.Pod) { q.Push(func() error { return handlers.added(pod) }) }, UpdateFunc: func(old, cur *corev1.Pod) { q.Push(func() error { if old.GetResourceVersion() != cur.GetResourceVersion() { return handlers.updated(cur) } return nil }) }, DeleteFunc: func(pod *corev1.Pod) { q.Push(func() error { return handlers.deleted(pod) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 09 02:22:47 UTC 2023 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_op_enums.td
!foreach(case, !tail(cases), "$_self.cast<StringAttr>().getValue() == \"" # case # "\""), prev, cur, prev # " || " # cur)>, "string attribute whose value is " # !foldl(/*init*/!head(cases), /*list*/!tail(cases), prev, cur, prev # ", or " # cur)>; // Attributes used for encoding sparse tensors. // Please find detailed explanation of these parameters in the TFLite schema.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 20 00:05:24 UTC 2022 - 6.4K bytes - Viewed (0) -
src/compress/flate/deflate_test.go
type sparseReader struct { l int64 cur int64 } func (r *sparseReader) Read(b []byte) (n int, err error) { if r.cur >= r.l { return 0, io.EOF } n = len(b) cur := r.cur + int64(n) if cur > r.l { n -= int(cur - r.l) cur = r.l } for i := range b[0:n] { if r.cur+int64(i) >= r.l-1<<16 { b[i] = 1 } else { b[i] = 0 } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 25.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.9K bytes - Viewed (0)