Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 507 for bland (0.14 sec)

  1. src/go/build/doc.go

    // constraints and containing a "//go:binary-only-package" comment. Like a
    // build constraint, this comment appeared at the top of a file, preceded
    // only by blank lines and other line comments and with a blank line
    // following the comment, to separate it from the package documentation.
    // Unlike build constraints, this comment is only recognized in non-test
    // Go source files.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/crypto/sha1/example_test.go

    	fmt.Printf("% x", h.Sum(nil))
    	// Output: 59 7f 6a 54 00 10 f9 4c 15 d7 18 06 a9 9a 2c 87 10 e7 47 bd
    }
    
    func ExampleSum() {
    	data := []byte("This page intentionally left blank.")
    	fmt.Printf("% x", sha1.Sum(data))
    	// Output: af 06 49 23 bb f2 30 15 96 aa c4 c2 73 ba 32 17 8e bc 4a 96
    }
    
    func ExampleNew_file() {
    	f, err := os.Open("file.txt")
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 17:29:19 UTC 2016
    - 887 bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/importdecl0/importdecl0a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package importdecl0
    
    import ()
    
    import (
    	// we can have multiple blank imports (was bug)
    	_ "math"
    	_ "net/rpc"
    	init /* ERROR "cannot import package as init" */ "fmt"
    	// reflect defines a type "flag" which shows up in the gc export data
    	"reflect"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. test/fixedbugs/issue38690.go

    // Copyright 2020 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.
    
    // Make sure that literal value can be passed to struct
    // blank field of array/struct type, see issue #38690.
    
    package main
    
    type A1 = [0]int
    type A2 = [1]int
    
    type S1 struct{}
    
    type S2 struct {
    	x int
    }
    
    type S3 = struct{}
    
    type S4 = struct{ x int }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 06 04:34:54 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  5. src/go/types/assignments.go

    // that identifier. The result is nil if it is the blank identifier,
    // and Typ[Invalid] if it is an invalid lhs expression.
    func (check *Checker) lhsVar(lhs ast.Expr) Type {
    	// Determine if the lhs is a (possibly parenthesized) identifier.
    	ident, _ := ast.Unparen(lhs).(*ast.Ident)
    
    	// Don't evaluate lhs if it is the blank identifier.
    	if ident != nil && ident.Name == "_" {
    		check.recordDef(ident, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/cmd/fix/buildtag.go

    		return false
    	}
    
    	// File is already gofmt-ed, so we know that if there are +build lines,
    	// they are in a comment group that starts with a //go:build line followed
    	// by a blank line. While we cannot delete comments from an AST and
    	// expect consistent output in general, this specific case - deleting only
    	// some lines from a comment block - does format correctly.
    	fixed := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/assignments.go

    // that identifier. The result is nil if it is the blank identifier,
    // and Typ[Invalid] if it is an invalid lhs expression.
    func (check *Checker) lhsVar(lhs syntax.Expr) Type {
    	// Determine if the lhs is a (possibly parenthesized) identifier.
    	ident, _ := syntax.Unparen(lhs).(*syntax.Name)
    
    	// Don't evaluate lhs if it is the blank identifier.
    	if ident != nil && ident.Value == "_" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. src/reflect/example_test.go

    		field := st.Field(i)
    		if alias, ok := field.Tag.Lookup("alias"); ok {
    			if alias == "" {
    				fmt.Println("(blank)")
    			} else {
    				fmt.Println(alias)
    			}
    		} else {
    			fmt.Println("(not specified)")
    		}
    	}
    
    	// Output:
    	// field_0
    	// (blank)
    	// (not specified)
    }
    
    func ExampleTypeOf() {
    	// As interface types are only used for static typing, a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 20:04:36 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go

    				line := fset.PositionFor(impspec.Path.ValuePos, false).Line
    
    				// We deleted an entry but now there may be
    				// a blank line-sized hole where the import was.
    				if line-lastLine > 1 || !gen.Rparen.IsValid() {
    					// There was a blank line immediately preceding the deleted import,
    					// so there's no need to close the hole. The right parenthesis is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 21:56:21 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            if (StringUtil.isBlank(endpoint)) {
                throw new CrawlingAccessException("endpoint is blank.");
            }
            builder.endpoint(endpoint);
            final String accessKey = getInitParameter("accessKey", null, String.class);
            if (StringUtil.isBlank(accessKey)) {
                throw new CrawlingAccessException("accessKey is blank.");
            }
            final String secretKey = getInitParameter("secretKey", null, String.class);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top