Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 534 for flag (0.13 sec)

  1. src/cmd/asm/internal/asm/endtoend_test.go

    		s := fmt.Sprintf(format, args...)
    		if !strings.HasSuffix(s, "\n") {
    			s += "\n"
    		}
    		errBuf.WriteString(s)
    	}
    	for _, flag := range flags {
    		switch flag {
    		case "dynlink":
    			ctxt.Flag_dynlink = true
    		default:
    			t.Errorf("unknown flag %s", flag)
    		}
    	}
    	pList.Firstpc, ok = parser.Parse()
    	obj.Flushplist(ctxt, pList, nil)
    	if ok && !failed {
    		t.Errorf("asm: %s had no errors", file)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  2. cmd/os-instrumented.go

    }
    
    // OpenFile captures time taken to call os.OpenFile
    func OpenFile(name string, flag int, perm os.FileMode) (f *os.File, err error) {
    	switch flag & writeMode {
    	case writeMode:
    		defer updateOSMetrics(osMetricOpenFileW, name)(err)
    	default:
    		defer updateOSMetrics(osMetricOpenFileR, name)(err)
    	}
    	return os.OpenFile(name, flag, perm)
    }
    
    // Access captures time taken to call syscall.Access()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. misc/linkcheck/linkcheck.go

    // that it's seen and prints a report of missing links at the end.
    package main
    
    import (
    	"errors"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    	"os"
    	"regexp"
    	"strings"
    	"sync"
    )
    
    var (
    	root    = flag.String("root", "http://localhost:6060", "Root to crawl")
    	verbose = flag.Bool("verbose", false, "verbose")
    )
    
    var wg sync.WaitGroup        // outstanding fetches
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  4. src/archive/tar/writer.go

    		}
    
    		// Write the extended header file.
    		var name string
    		var flag byte
    		if isGlobal {
    			name = realName
    			if name == "" {
    				name = "GlobalHead.0.0"
    			}
    			flag = TypeXGlobalHeader
    		} else {
    			dir, file := path.Split(realName)
    			name = path.Join(dir, "PaxHeaders.0", file)
    			flag = TypeXHeader
    		}
    		data := buf.String()
    		if len(data) > maxSpecialFileSize {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. istioctl/pkg/cli/option.go

    	flags.StringVarP(r.namespace, FlagNamespace, "n", v1.NamespaceAll,
    		"Kubernetes namespace")
    	flags.StringVarP(r.istioNamespace, FlagIstioNamespace, "i", viper.GetString(FlagIstioNamespace),
    		"Istio system namespace")
    	return r
    }
    
    // Namespace returns the namespace flag value.
    func (r *RootFlags) Namespace() string {
    	return *r.namespace
    }
    
    // IstioNamespace returns the istioNamespace flag value.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 18:01:27 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. tests/error_translator_test.go

    package tests_test
    
    import (
    	"errors"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/utils/tests"
    )
    
    func TestDialectorWithErrorTranslatorSupport(t *testing.T) {
    	// it shouldn't translate error when the TranslateError flag is false
    	translatedErr := errors.New("translated error")
    	untranslatedErr := errors.New("some random error")
    	db, _ := gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr})
    
    	err := db.AddError(untranslatedErr)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Jul 12 13:21:22 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  9. 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)
  10. docs/debugging/reorder-disks/main.go

    			}
    		}
    	}
    	return "", errors.New("format.json is corrupted")
    }
    
    func main() {
    	var node, args string
    
    	flag.StringVar(&node, "local-node-name", "", "the name of the local node")
    	flag.StringVar(&args, "args", "", "arguments passed to MinIO server")
    
    	flag.Parse()
    
    	localDisks, err := filterLocalDisks(node, args)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	if len(localDisks) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top