Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for goexit (0.07 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. 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)
  6. buildscripts/checkdeps.sh

    			echo "OSX version '${osx_host_version}' is not supported. Minimum supported version: ${OSX_VERSION}"
    			exit 1
    		fi
    		return
    		;;
    	*)
    		echo "OS '${KNAME}' is not supported. Supported OS: [Linux, FreeBSD, OpenBSD, NetBSD, Darwin, DragonFly]"
    		exit 1
    		;;
    	esac
    }
    
    assert_check_golang_env() {
    	if ! which go >/dev/null 2>&1; then
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jun 08 16:12:05 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. maven-tests/mvnw

        exit 1
      fi
      if [ $distributionSha256Result = false ]; then
        echo "Error: Failed to validate Maven distribution SHA-256, your Maven distribution might be compromised." >&2
        echo "If you updated your Maven version, you need to update the specified distributionSha256Sum property." >&2
        exit 1
      fi
    fi
    
    # unzip and move
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            try {
                ByteArrayOutputStream errContent = new ByteArrayOutputStream();
                System.setErr(new PrintStream(errContent));
    
                String[] args = { "--help" };
                // Note: main calls System.exit, so we can't test it directly
                // Instead, we test the parsing logic separately
    
                System.setErr(originalErr);
            } catch (Exception e) {
                System.setErr(originalErr);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

                assertSame(oneWayCryptographer, oneWays[i]);
            }
        }
    
        // Test with multiple providers
        public void test_multipleProviders() {
            // Test that multiple providers can coexist independently
            InvertibleCryptographer inver1 = InvertibleCryptographer.createAesCipher("key1key1key1key1");
            InvertibleCryptographer inver2 = InvertibleCryptographer.createAesCipher("key2key2key2key2");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    # Dependencies with yield { #dependencies-with-yield }
    
    FastAPI supports dependencies that do some <abbr title='sometimes also called "exit code", "cleanup code", "teardown code", "closing code", "context manager exit code", etc.'>extra steps after finishing</abbr>.
    
    To do this, use `yield` instead of `return`, and write the extra steps (code) after.
    
    /// tip
    
    Make sure to use `yield` one single time per dependency.
    
    ///
    
    /// note | Technical Details
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top