Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,201 for imposes (0.14 sec)

  1. src/cmd/go/testdata/script/gopath_local.txt

    env GO111MODULE=off  # Relative imports only work in GOPATH mode.
    
    [short] skip
    
    # Imports should be resolved relative to the source file.
    go build testdata/local/easy.go
    exec ./easy$GOEXE
    stdout '^easysub\.Hello'
    
    # Ignored files should be able to import the package built from
    # non-ignored files in the same directory.
    go build -o easysub$GOEXE testdata/local/easysub/main.go
    exec ./easysub$GOEXE
    stdout '^easysub\.Hello'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  2. hack/update-import-aliases.sh

    # 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.
    
    # This script fixes imports programmatically according to
    # all the imports that we have our preferred alias(es).
    # Usage: `hack/update-import-aliases.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/mdo/model.vm

        #set ( $types = { } )
        #set ( $imports = $class.getClass().forName("java.util.TreeSet").newInstance() )
        #set ( $dummy = $imports.add( "java.io.Serializable" ) )
        #set ( $dummy = $imports.add( "java.util.Collections" ) )
        #set ( $dummy = $imports.add( "java.util.HashMap" ) )
        #set ( $dummy = $imports.add( "java.util.Map" ) )
        #set ( $dummy = $imports.add( "org.apache.maven.api.annotations.Experimental" ) )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 21:28:01 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/testFixtures/groovy/org/gradle/workers/fixtures/WorkerExecutorFixture.groovy

            String packageName
            List<String> imports = []
            boolean writtenToBuildFile = false
    
            TestClass(String name, String packageName) {
                this.name = name
                this.packageName = packageName
            }
    
            String getImportDeclarations() {
                String importDeclarations = ""
                imports.each {
                    importDeclarations += """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 12:36:12 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. common/config/.golangci.yml

        ignore-generated-header: false
        severity: "warning"
        confidence: 0.0
        rules:
          - name: blank-imports
          - name: context-keys-type
          - name: time-naming
          - name: var-declaration
          - name: unexported-return
          - name: errorf
          - name: context-as-argument
          - name: dot-imports
          - name: error-return
          - name: error-strings
          - name: error-naming
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. pkg/config/visibility/visibility.go

    // all namespaces or none
    type Instance string
    
    const (
    	// Private implies namespace local config
    	Private Instance = "."
    	// Public implies config is visible to all
    	Public Instance = "*"
    	// None implies service is visible to no one. Used for services only
    	None Instance = "~"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 09 07:58:12 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/imports/scan.go

    			continue
    		}
    		numFiles++
    		m := imports
    		if strings.HasSuffix(name, "_test.go") {
    			m = testImports
    		}
    		for _, p := range list {
    			q, err := strconv.Unquote(p)
    			if err != nil {
    				continue
    			}
    			m[q] = true
    		}
    	}
    	if numFiles == 0 {
    		return nil, nil, ErrNoGo
    	}
    	return keys(imports), keys(testImports), nil
    }
    
    var ErrNoGo = fmt.Errorf("no Go source files")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 23 19:36:38 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  8. src/cmd/fix/fix.go

    				gen.Specs[j-1].(*ast.ImportSpec).EndPos = impspec.End()
    			}
    			break
    		}
    	}
    
    	// Delete it from f.Imports.
    	for i, imp := range f.Imports {
    		if imp == oldImport {
    			copy(f.Imports[i:], f.Imports[i+1:])
    			f.Imports = f.Imports[:len(f.Imports)-1]
    			break
    		}
    	}
    
    	return
    }
    
    // rewriteImport rewrites any import of path oldPath to path newPath.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/defs.h

    // Implies must-compile semantics: either it will be compiled
    // with XLA, or an error will be thrown.
    extern const char* const kXlaMustCompileAttr;  // "_XlaMustCompile"
    
    // Implies auto-clustering: tagged nodes will be clustered and compiled with XLA
    // on a best-effort basis.
    extern const char* const kXlaCompileAttr;  // "_XlaCompile"
    
    // Implies auto-clustering within the given scope.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 07 01:03:32 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_ignore_leading_bom.txt

    # Per https://golang.org/ref/spec#Source_code_representation:
    # a compiler may ignore a UTF-8-encoded byte order mark (U+FEFF)
    # if it is the first Unicode code point in the source text.
    
    go list -f 'Imports: {{.Imports}} EmbedFiles: {{.EmbedFiles}}' .
    stdout '^Imports: \[embed m/hello\] EmbedFiles: \[.*file\]$'
    
    -- go.mod --
    module m
    
    go 1.16
    -- m.go --
    package main
    
    import (
    	_ "embed"
    
    	"m/hello"
    )
    
    //go:embed file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 15 18:42:11 UTC 2021
    - 486 bytes
    - Viewed (0)
Back to top