Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 181 for flag (0.13 sec)

  1. lib/time/mkzip.go

    package main
    
    import (
    	"archive/zip"
    	"bytes"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"io/fs"
    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n")
    	os.Exit(2)
    }
    
    func main() {
    	log.SetPrefix("mkzip: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	args := flag.Args()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/buildall.bash

    	unset GOARM
    	if [ "$GOARCH" = "arm5" ]; then
    		export GOARCH=arm
    		export GOARM=5
    	fi
    
    	# Build and vet everything.
    	# cmd/go/internal/work/exec.go enables the same vet flags during go test of std cmd
    	# and should be kept in sync with any vet flag changes here.
    	if ! "$GOROOT/bin/go" build std cmd || ! "$GOROOT/bin/go" vet -unsafeptr=false std cmd; then
    		failed=true
    		if $sete; then
    			exit 1
    		fi
    	fi
    done
    
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 23 17:45:23 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. cmd/admin-router.go

    // this behavior.
    func adminMiddleware(f http.HandlerFunc, flags ...hFlag) http.HandlerFunc {
    	// Collect all flags with bitwise-OR and assign operator
    	var handlerFlags hFlag
    	for _, flag := range flags {
    		handlerFlags |= flag
    	}
    
    	// Get name of the handler using reflection.
    	handlerName := getHandlerName(f, "adminAPIHandlers")
    
    	var handler http.HandlerFunc = func(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. tensorflow/BUILD

    )
    
    # This flag enables experimental TPU support
    bool_flag(
        name = "enable_tpu_support",
        build_setting_default = False,
    )
    
    config_setting(
        name = "with_tpu_support_define",
        define_values = {"with_tpu_support": "true"},
        visibility = ["//visibility:public"],
    )
    
    config_setting(
        name = "with_tpu_support_flag",
        flag_values = {":enable_tpu_support": "True"},
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  5. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

                    boolean flag = false;
                    for (final String protocol : protocols) {
                        if (path.trim().startsWith(protocol.trim())) {
                            flag = true;
                            break;
                        }
                    }
                    if (!flag) {
                        return false;
                    }
                }
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/asm.go

    	}
    	next := 1
    
    	// Next operand is the optional flag, a literal integer.
    	var flag = int64(0)
    	if len(operands) == 3 {
    		flag = p.evalInteger("GLOBL", operands[1])
    		next++
    	}
    
    	// Final operand is an immediate constant.
    	addr := p.address(operands[next])
    	if !p.validImmediate("GLOBL", &addr) {
    		return
    	}
    
    	// log.Printf("GLOBL %s %d, $%d", name, flag, size)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/artifact/MavenArtifactProperties.java

     * @since 4.0.0
     */
    public final class MavenArtifactProperties {
        /**
         * A boolean flag indicating whether the artifact presents some kind of bundle that physically includes its
         * dependencies, e.g. a fat WAR.
         */
        public static final String INCLUDES_DEPENDENCIES = "includesDependencies";
    
        /**
         * A boolean flag indicating whether the artifact is meant to be used for the compile/runtime/test build path of a
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. operator/cmd/mesh/root.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package mesh
    
    import (
    	"flag"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	binversion "istio.io/istio/operator/version"
    	"istio.io/istio/pkg/url"
    	"istio.io/istio/pkg/version"
    )
    
    var (
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.cc

        // These XLA flags are needed to trigger XLA properly from C (more generally
        // non-Python) clients. If this API is called again with `enable` set to
        // false, it is safe to keep these flag values as is.
        tensorflow::MarkForCompilationPassFlags* flags =
            tensorflow::GetMarkForCompilationPassFlags();
        flags->tf_xla_cpu_global_jit = true;
        flags->tf_xla_min_cluster_size = 1;
      } else {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  10. docs/auditlog/auditlog-echo.md

    # `auditlog-echo`: A tool to view MinIO Audit logs on the console
    
    1. Run the tool with:
    
    ```
    go run docs/auditlog/auditlog-echo.go
    ```
    
    The listen port has a default value (8080), but can be set with the `-port` flag.
    
    2. Configure audit logging in MinIO with for example:
    
    ```
    mc admin config set myminio audit_webhook enable=on endpoint=http://localhost:8080
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 447 bytes
    - Viewed (0)
Back to top