Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for expectActions (0.22 sec)

  1. src/syscall/fs_wasip1.go

    	readRights  = rights(RIGHT_FD_READ | RIGHT_FD_READDIR)
    	writeRights = rights(RIGHT_FD_DATASYNC | RIGHT_FD_WRITE | RIGHT_FD_ALLOCATE | RIGHT_PATH_FILESTAT_SET_SIZE)
    
    	// Some runtimes have very strict expectations when it comes to which
    	// rights can be enabled on files opened by path_open. The fileRights
    	// constant is used as a mask to retain only bits for operations that
    	// are supported on files.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  2. src/syscall/syscall_linux_test.go

    				t.Errorf("[%d,%d] prctl(PR_GET_KEEPCAPS) gave wrong value: got=%v, want=1", i, j, v)
    			}
    		}
    	}
    }
    
    // compareStatus is used to confirm the contents of the thread
    // specific status files match expectations.
    func compareStatus(filter, expect string) error {
    	expected := filter + expect
    	pid := syscall.Getpid()
    	fs, err := os.ReadDir(fmt.Sprintf("/proc/%d/task", pid))
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. pkg/controller/cronjob/cronjob_controllerv2.go

    			jobsToBeReconciled = append(jobsToBeReconciled, job)
    		}
    	}
    	return jobsToBeReconciled, nil
    }
    
    // When a job is created, enqueue the controller that manages it and update it's expectations.
    func (jm *ControllerV2) addJob(obj interface{}) {
    	job := obj.(*batchv1.Job)
    	if job.DeletionTimestamp != nil {
    		// on a restart of the controller, it's possible a new job shows up in a state that
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  4. pkg/scheduler/scheduler_test.go

    				fwk.IterateOverWaitingPods(func(pod framework.WaitingPod) {
    					actualPodNamesInWaitingPods.Insert(pod.GetPod().Name)
    				})
    				// Validate the name of pods in waitingPods matches expectations.
    				if actualPodNamesInWaitingPods.Len() != len(tc.expectPodNamesInWaitingPods) ||
    					!actualPodNamesInWaitingPods.HasAll(tc.expectPodNamesInWaitingPods...) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  5. src/net/http/cookiejar/jar_test.go

    				v = `"` + v + `"`
    			}
    			cs = append(cs, cookie.Name+"="+v)
    		}
    	}
    	slices.Sort(cs)
    	got := strings.Join(cs, " ")
    
    	// Make sure jar content matches our expectations.
    	if got != test.content {
    		t.Errorf("Test %q Content\ngot  %q\nwant %q",
    			test.description, got, test.content)
    	}
    
    	// Test different calls to Cookies.
    	for i, query := range test.queries {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  6. src/runtime/signal_unix.go

    		// the rest of a normal C runtime. When the go runtime
    		// blocks...unblocks signals, temporarily, the blocked
    		// interval of time is generally very short. As such,
    		// these expectations of *libc code are mostly met by
    		// the combined go+cgo system of threads. However,
    		// when go causes a thread to exit, via a return from
    		// mstart(), the combined runtime can deadlock if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top