Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,377 for Imported (0.17 sec)

  1. src/cmd/internal/objabi/path_test.go

    		_, err := PrefixToPath(tc)
    		if err == nil {
    			t.Errorf("expected PrefixToPath(%s) err != nil, got nil", tc)
    		}
    	}
    }
    
    func TestRuntimePackageList(t *testing.T) {
    	// Test that all packages imported by the runtime are marked as runtime
    	// packages.
    	testenv.MustHaveGoBuild(t)
    	goCmd, err := testenv.GoTool()
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 13:56:25 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/gopath_vendor_dup_err.txt

    env GO111MODULE=off
    
    # Issue 17119: Test more duplicate load errors.
    ! go build dupload
    ! stderr 'duplicate load|internal error'
    stderr 'dupload/vendor/p must be imported as p'
    
    -- dupload/dupload.go --
    package main
    
    import (
    	_ "dupload/p2"
    	_ "p"
    )
    
    func main() {}
    -- dupload/p/p.go --
    package p
    -- dupload/p2/p2.go --
    package p2
    
    import _ "dupload/vendor/p"
    -- dupload/vendor/p/p.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 399 bytes
    - Viewed (0)
  3. src/cmd/link/testdata/dynimportvar/main.go

    // Copyright 2023 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.
    
    // Test that we can access dynamically imported variables.
    // We ues mach_task_self_ from darwin's system library.
    // Check that loading the variable from C and Go gets the
    // same result.
    
    //go:build darwin
    
    package main
    
    /*
    #include <mach/mach_init.h>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 19:39:32 UTC 2023
    - 678 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    // TODO(adonovan): make this a library function or method of Info.
    func imported(info *types.Info, spec *ast.ImportSpec) *types.Package {
    	obj, ok := info.Implicits[spec]
    	if !ok {
    		obj = info.Defs[spec.Name] // renaming import
    	}
    	return obj.(*types.PkgName).Imported()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. docs/en/docs/reference/exceptions.md

    You can use:
    
    * `HTTPException`
    * `WebSocketException`
    
    These exceptions can be imported directly from `fastapi`:
    
    ```python
    from fastapi import HTTPException, WebSocketException
    ```
    
    ::: fastapi.HTTPException
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 597 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/gopath_local.txt

    # non-ignored files in the same directory.
    go build -o easysub$GOEXE testdata/local/easysub/main.go
    exec ./easysub$GOEXE
    stdout '^easysub\.Hello'
    
    # Files in relative-imported packages should be able to
    # use relative imports themselves.
    go build testdata/local/hard.go
    exec ./hard$GOEXE
    stdout '^sub\.Hello'
    
    # Explicit source files listed on the command line should not install without
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/external_constant.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir --use-external-constant - -o - | FileCheck %s
    // Ensure that `tfl.external_const` is imported when the flag `-use-external-constant` is enabled.
    
    func.func @main(tensor<40x37xf32>, tensor<40x37xf32>) -> tensor<40x40xf32> {
    ^bb0(%arg0: tensor<40x37xf32>, %arg1: tensor<40x37xf32>):
      %cst = arith.constant dense<1.0> : tensor<40xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.h

    namespace tensorflow {
    
    using tsl::StatusOr;
    
    // Converts non func AttrValue proto into an MLIR attribute. Func attribute is
    // exclused in this function because the function might be renamed when the
    // function definition is imported.
    absl::StatusOr<mlir::Attribute> ConvertNonFuncAttributeValue(
        const AttrValue& value, mlir::Builder* builder);
    
    // Converts all kinds of AttrValue proto into an MLIR attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts

        /*
         We do not need guava in the generator, but because of a bug in the IJ project importing, we need to have a dependency on intellijCore
         the same as it is in `:fir:tree:tree-generator` module to the project be imported correctly
         */
        compileOnly(intellijCore())
        compileOnly(libs.guava)
    
        implementation(project(":compiler:psi"))
    }
    
    application {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 18 18:42:40 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-library.pbtxt

          experimental_debug_info {
            original_node_names: "unnamed"
          }
        }
      }
    }
    versions {
      producer: 29
      min_consumer: 12
    }
    
    # Verify that functions from the library are properly imported.
    
    # CHECK-LABEL:  func @main() {
    # CHECK:    "tf.LegacyCall"() <{_disable_call_shape_inference = true, f = @foo0}> {device = ""}
    # CHECK:    "tf.LegacyCall"() <{_disable_call_shape_inference = false, f = @bar0}> {device = ""}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top