Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,755 for Unnamed (0.14 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ctrlflow/ctrlflow.go

    	funcDecls map[*types.Func]*declInfo
    	funcLits  map[*ast.FuncLit]*litInfo
    	pass      *analysis.Pass // transient; nil after construction
    }
    
    // CFGs has two maps: funcDecls for named functions and funcLits for
    // unnamed ones. Unlike funcLits, the funcDecls map is not keyed by its
    // syntax node, *ast.FuncDecl, because callMayReturn needs to do a
    // look-up by *types.Func, and you can get from an *ast.FuncDecl to a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/issues1.go

    }
    
    // Simplified, from https://go2goplay.golang.org/p/efS6x6s-9NI:
    func Sum[T interface{~int | ~string}](s []T) (sum T) {
    	for _, v := range s {
    		sum += v
    	}
    	return
    }
    
    // Assignability of an unnamed pointer type to a type parameter that
    // has a matching underlying type.
    func _[T interface{}, PT interface{~*T}] (x T) PT {
        return &x
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:56:37 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

          i += 2;
        } else {
          // Unsupported character in the equation.
          return std::nullopt;
        }
      }
    
      *rhs_named_label_count = rhs_count;
      return labels;
    }
    
    // Generate new unnamed labels for the expression.
    // For example, if we have GenerateLabels(2, {'b', 'c', 'd'}) for "...xy"
    // We will have "dcxy" for the ellipsis expression since it's rank 4,
    // we will have dcbxy if it's rank 5.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_builder_test.go

    	}{
    		{
    			name:   "permissive",
    			config: "",
    			http: map[int]bool{
    				// Should not see HTTP inspector if we declare ports
    				80: true,
    				82: true,
    				// But should see for passthrough or unnamed ports
    				81:   false,
    				1000: false,
    			},
    			tls: map[int]bool{
    				// Permissive mode: inspector is set everywhere
    				80:   false,
    				82:   false,
    				81:   false,
    				1000: false,
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/lookup.go

    			if named := asNamed(typ); named != nil {
    				if alt := seen.lookup(named); alt != nil {
    					// We have seen this type before, at a more shallow depth
    					// (note that multiples of this type at the current depth
    					// were consolidated before). The type at that depth shadows
    					// this same type at the current depth, so we can ignore
    					// this one.
    					continue
    				}
    				seen.add(named)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. src/go/types/lookup.go

    			if named := asNamed(typ); named != nil {
    				if alt := seen.lookup(named); alt != nil {
    					// We have seen this type before, at a more shallow depth
    					// (note that multiples of this type at the current depth
    					// were consolidated before). The type at that depth shadows
    					// this same type at the current depth, so we can ignore
    					// this one.
    					continue
    				}
    				seen.add(named)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/resolver/IdeDependencySet.java

                // We assume that a test-only dependency is not a module, which corresponds to how Eclipse does test running for modules:
                // It patches the main module with the tests and expects test dependencies to be part of the unnamed module (classpath).
                return javaModuleDetector.isModule(inferModulePath && !testOnly, artifact);
            }
    
            private boolean isLocalGroovyDependency(ResolvedArtifactResult artifact) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    						fn = nil
    						fnName = ""
    						abi = ""
    						continue
    					}
    				}
    				// Trim off optional ABI selector.
    				fnName, abi = trimABI(fnName)
    				flag := m[3]
    				fn = knownFunc[fnName][arch]
    				if fn != nil {
    					size, _ := strconv.Atoi(m[5])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. src/internal/types/testdata/spec/conversions.go

    func _[X Foo, T Far](x X) T {
    	return T(x /* ERROR "cannot convert x (variable of type X constrained by Foo) to type T: cannot convert Foo (in X) to type Far (in T)" */)
    }
    
    // "x's type and T are unnamed pointer types and their pointer base types
    // have identical underlying types if tags are ignored"
    
    func _[X ~*Foo, T ~*Bar](x X) T         { return T(x) }
    func _[X ~*Foo | ~*Bar, T ~*Bar](x X) T { return T(x) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. src/go/types/call.go

    		var params []*Var
    		if sig.params != nil {
    			params = sig.params.vars
    		}
    		// Be consistent about named/unnamed parameters. This is not needed
    		// for type-checking, but the newly constructed signature may appear
    		// in an error message and then have mixed named/unnamed parameters.
    		// (An alternative would be to not print parameter names in errors,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top