Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 190 for goexit (0.21 sec)

  1. cmd/leak-detect_test.go

    var ignoredStackFns = []string{
    	"",
    	// Below are the stacks ignored by the upstream leaktest code.
    	"testing.Main(",
    	"testing.tRunner(",
    	"testing.tRunner(",
    	"runtime.goexit",
    	"created by runtime.gc",
    	// ignore the snapshot function.
    	// since the snapshot is taken here the entry will have the current function too.
    	"pickRelevantGoroutines",
    	"runtime.MHeap_Scavenger",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. docs/bucket/notifications/README.md

     natsConnection.Subscribe("bucketevents", func(msg *nats.Msg) {
    
      // Handle the message
      log.Printf("Received message '%s\n", string(msg.Data)+"'")
     })
    
     // Keep the connection alive
     runtime.Goexit()
    }
    ```
    
    ```
    go run nats.go
    2016/10/12 06:39:18 Connected
    2016/10/12 06:39:18 Subscribing to subject 'bucketevents'
    ```
    
    Open another terminal and upload a JPEG image into `images` bucket.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 84.2K bytes
    - Viewed (0)
  3. apache-maven/src/assembly/maven/bin/mvn

            ;;
          --yjp)
            if [ ! -f "$YJPLIB" ]; then
              echo "Error: Unable to autodetect the YJP library location. Please set YJPLIB variable" >&2
              exit 1
            fi
            MAVEN_OPTS="-agentpath:$YJPLIB=onexit=snapshot,onexit=memory,tracing,onlylocal $MAVEN_OPTS"
            ;;
          --enc)
            MAVEN_MAIN_CLASS="org.apache.maven.cling.MavenEncCling"
            ;;
          --shell)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 24 09:49:07 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. apache-maven/src/assembly/maven/bin/mvn.cmd

        )
    ) else if "%~1"=="--yjp" (
        if not exist "%YJPLIB%" (
            echo Error: Unable to autodetect the YJP library location. Please set YJPLIB variable >&2
            exit /b 1
        )
        set "INTERNAL_MAVEN_OPTS=-agentpath:%YJPLIB%=onexit=snapshot,onexit=memory,tracing,onlylocal %INTERNAL_MAVEN_OPTS%"
    ) else if "%~1"=="--enc" (
        set "MAVEN_MAIN_CLASS=org.apache.maven.cling.MavenEncCling"
    ) else if "%~1"=="--shell" (
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 24 09:49:07 UTC 2025
    - 9.6K bytes
    - Viewed (3)
  5. buildscripts/test-timeout.sh

    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	set -e
    
    	"${PWD}/mc" mb minio/testbucket
    	"${PWD}/mc" anonymous set public minio/testbucket
    
    	# slow header writing
    	send_put_object_request 20 0 && exit -1
    	"${PWD}/mc" stat minio/testbucket/testobject && exit -1
    
    	# quick header write and slow bodywrite
    	send_put_object_request 0 40 && exit -1
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Dec 02 13:21:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. cmd/signals.go

    }
    
    func handleSignals() {
    	// Custom exit function
    	exit := func(success bool) {
    		if globalLoggerOutput != nil {
    			globalLoggerOutput.Close()
    		}
    
    		// If global profiler is set stop before we exit.
    		globalProfilerMu.Lock()
    		defer globalProfilerMu.Unlock()
    		for _, p := range globalProfiler {
    			p.Stop()
    		}
    
    		if success {
    			os.Exit(0)
    		}
    
    		os.Exit(1)
    	}
    
    	stopProcess := func() bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Sep 04 17:02:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. buildscripts/verify-build.sh

    		exit 1
    	fi
    
    	echo "Testing in Distributed Erasure setup"
    	if ! run_test_dist_erasure; then
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	echo "Testing in Erasure setup as sets"
    	if ! run_test_erasure_sets; then
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	echo "Testing in Distributed Eraure expanded setup"
    	if ! run_test_pool_erasure_sets; then
    		echo "FAILED"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 19:28:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. tests/tests_test.go

    		log.Printf("failed to connect database, got error %v", err)
    		os.Exit(1)
    	} else {
    		sqlDB, err := DB.DB()
    		if err != nil {
    			log.Printf("failed to connect database, got error %v", err)
    			os.Exit(1)
    		}
    
    		err = sqlDB.Ping()
    		if err != nil {
    			log.Printf("failed to ping sqlDB, got error %v", err)
    			os.Exit(1)
    		}
    
    		RunMigrations()
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. .github/workflows/multipart/migrate.sh

    if [ $failed_count_site1 -ne 0 ]; then
    	echo "failed with multipart on site1 uploads"
    	exit 1
    fi
    
    if [ $failed_count_site2 -ne 0 ]; then
    	echo "failed with multipart on site2 uploads"
    	exit 1
    fi
    
    ./mc cp -r --quiet /usr/bin site1/testbucket/
    
    sleep 5
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       * process with an exit status of 1, indicating abnormal termination.
       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime()::exit);
      }
    
      @VisibleForTesting
      interface RuntimeWrapper {
        void exit(int status);
      }
    
      @VisibleForTesting
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top