Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,725 for exit1 (0.05 sec)

  1. test/fixedbugs/bug077.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	var exit int
    exit:
    	_ = exit
    	goto exit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 243 bytes
    - Viewed (0)
  2. src/os/proc.go

    		// This is used to fail tests that make an early
    		// unexpected call to os.Exit(0).
    		panic("unexpected call to os.Exit(0) during test")
    	}
    
    	// Inform the runtime that os.Exit is being called. If -race is
    	// enabled, this will give race detector a chance to fail the
    	// program (racy programs do not have the right to finish
    	// successfully). If coverage is enabled, then this call will
    	// enable us to write out a coverage data file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprogcgo/stackswitch.c

    	if (stack1 == NULL) {
    		perror("malloc");
    		exit(1);
    	}
    
    	// Allocate the second stack before freeing the first to ensure we don't get
    	// the same address from malloc.
    	//
    	// Will be freed in stackSwitchThread2.
    	stack2 = malloc(STACK_SIZE);
    	if (stack1 == NULL) {
    		perror("malloc");
    		exit(1);
    	}
    
    	if (getcontext(&uctx_switch) == -1) {
    		perror("getcontext");
    		exit(1);
    	}
    	uctx_switch.uc_stack.ss_sp = stack1;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 15:17:33 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_fuzz_mutator.txt

    	coordLog, err := os.Open(coordPath)
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	defer coordLog.Close()
    	if err := checkCoordLog(coordLog); err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    
    	workerLog, err := os.Open(workerPath)
    	if err != nil {
    		fmt.Fprintln(os.Stderr, err)
    		os.Exit(1)
    	}
    	defer workerLog.Close()
    	if err := checkWorkerLog(workerLog); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. docs/en/docs/img/deployment/https/https02.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;" parent="1" edge="1">
                        <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
    - 9.4K bytes
    - Viewed (0)
  6. docs/distributed/decom.sh

    	echo "BUG: original user count differs from expanded setup"
    	exit 1
    fi
    
    if [ $policy_count -ne $expanded_policy_count ]; then
    	echo "BUG: original policy count  differs from expanded setup"
    	exit 1
    fi
    
    ./mc version info myminio/versioned | grep -q "versioning is enabled"
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "expected versioning enabled after expansion"
    	exit 1
    fi
    
    ./mc mirror cmd myminio/versioned/ --quiet >/dev/null
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

            scope.seed(Object.class, o2);
            assertSame(o2, scope.scope(Key.get(Object.class), null).get());
    
            scope.exit();
            assertSame(o1, scope.scope(Key.get(Object.class), null).get());
    
            scope.exit();
    
            assertThrows(IllegalStateException.class, () -> scope.exit());
        }
    
        @Test
        void testMultiKeyInstance() throws Exception {
            MojoExecutionScope scope = new MojoExecutionScope();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. tests/util/leak/check.go

    		return res
    	}
    	t.Cleanup(func() {
    		if err := check(filter); err != nil {
    			t.Errorf("goroutine leak: %v", err)
    		}
    	})
    }
    
    // CheckMain asserts that no goroutines are leaked after a test package exits.
    // This can be used with the following code:
    //
    //	func TestMain(m *testing.M) {
    //	    leak.CheckMain(m)
    //	}
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 10:22:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/ar.go

    				ctxt.Logf("skipping libgcc file: %v\n", err)
    			}
    			return
    		}
    		Exitf("cannot open file %s: %v", name, err)
    	}
    	defer f.Close()
    
    	var magbuf [len(ARMAG)]byte
    	if _, err := io.ReadFull(f, magbuf[:]); err != nil {
    		Exitf("file %s too short", name)
    	}
    
    	if string(magbuf[:]) != ARMAG {
    		Exitf("%s is not an archive file", name)
    	}
    
    	var arhdr ArHdr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 19 23:11:11 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecHandleSpec.groovy

            when:
            handle.waitForFinish()
            handle.waitForFinish()
    
            then:
            execHandle.state == ExecHandleState.SUCCEEDED
        }
    
        void "understands when application exits with non-zero"() {
            given:
            def execHandle = handle().args(args(BrokenApp.class)).build()
    
            when:
            def result = execHandle.start().waitForFinish()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 23 03:44:52 UTC 2021
    - 14.9K bytes
    - Viewed (0)
Back to top