Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 133 for exit_a (0.31 sec)

  1. pkg/test/framework/suite_test.go

    	var runCalled bool
    	var runSkipped bool
    	var exitCode int
    	runFn := func(ctx *suiteContext) int {
    		runCalled = true
    		runSkipped = ctx.skipped
    		return -1
    	}
    	exitFn := func(code int) {
    		exitCode = code
    	}
    
    	s := newTestSuite("tid", runFn, exitFn, defaultSettingsFn)
    	s.Run()
    
    	g.Expect(runCalled).To(BeTrue())
    	g.Expect(runSkipped).To(BeFalse())
    	g.Expect(exitCode).To(Equal(-1))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exec/Crawler.java

                if (hotThreadMonitorTask != null) {
                    hotThreadMonitorTask.cancel();
                }
                destroyContainer();
            }
    
            if (exitCode != Constants.EXIT_OK) {
                System.exit(exitCode);
            }
        }
    
        private static void destroyContainer() {
            if (running.getAndSet(false)) {
                TimeoutManager.getInstance().stop();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                    errorMessage.set("SetException call exited before future was complete.");
                  }
                }
              });
          executor.execute(
              new Runnable() {
                @Override
                public void run() {
                  future.cancel(true);
                  if (!future.isDone()) {
                    errorMessage.set("Cancel call exited before future was complete.");
                  }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux.go

    // from stopped via the core dump bit.
    
    const (
    	mask    = 0x7F
    	core    = 0x80
    	exited  = 0x00
    	stopped = 0x7F
    	shift   = 8
    )
    
    func (w WaitStatus) Exited() bool { return w&mask == exited }
    
    func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != exited }
    
    func (w WaitStatus) Stopped() bool { return w&0xFF == stopped }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  5. common/scripts/kind_provisioner.sh

    #####################################################################
    
    # cleanup_kind_cluster takes a single parameter NAME
    # and deletes the KinD cluster with that name
    function cleanup_kind_cluster() {
      echo "Test exited with exit code $?."
      NAME="${1}"
      kind export logs --name "${NAME}" "${ARTIFACTS}/kind" -v9 || true
      if [[ -z "${SKIP_CLEANUP:-}" ]]; then
        echo "Cleaning up kind cluster"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 19:12:55 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    }
    
    // Wait status is 7 bits at bottom, either 0 (exited),
    // 0x7F (stopped), or a signal number that caused an exit.
    // The 0x80 bit is whether there was a core dump.
    // An extra number (exit code, signal causing a stop)
    // is in the high bits.
    
    type WaitStatus uint32
    
    const (
    	mask  = 0x7F
    	core  = 0x80
    	shift = 8
    
    	exited  = 0
    	stopped = 0x7F
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  7. docs/en/docs/img/deployment/https/https.drawio

                    </mxCell>
                    <mxCell id="8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=3;exitX=0.092;exitY=1.01;exitDx=0;exitDy=0;dashed=1;exitPerimeter=0;" edge="1" parent="1" target="14">
                        <mxGeometry relative="1" as="geometry">
                            <Array as="points">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 25.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testsanitizers/cc_test.go

    		timer := time.AfterFunc(timeout, func() {
    			cmd.Process.Signal(syscall.SIGQUIT)
    		})
    		defer timer.Stop()
    	}
    
    	if err := cmd.Wait(); err != nil {
    		t.Fatalf("%v exited with %v\n%s", cmd, err, out)
    	}
    }
    
    // cc returns a cmd that executes `$(go env CC) $(go env GOGCCFLAGS) $args`.
    func cc(args ...string) (*exec.Cmd, error) {
    	CC, err := goEnv("CC")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 20:00:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. src/os/exec/exec_test.go

    			t.Errorf("from exit 42 got exit %q, want %q", s, want)
    		}
    	} else {
    		t.Fatalf("expected *exec.ExitError from exit 42; got %T: %v", err, err)
    	}
    }
    
    func TestExitCode(t *testing.T) {
    	t.Parallel()
    
    	// Test that exit code are returned correctly
    	cmd := helperCommand(t, "exit", "42")
    	cmd.Run()
    	want := 42
    	if runtime.GOOS == "plan9" {
    		want = 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/timeout/JavaProcessStackTracesMonitor.java

                    }
                    return sb.toString();
                } catch (Throwable e) {
                    // e.g. java.lang.IllegalThreadStateException: process has not exited
                    //          at java.base/java.lang.ProcessImpl.exitValue(ProcessImpl.java:553)
                    StringWriter sw = new StringWriter();
                    PrintWriter pw = new PrintWriter(sw);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top