Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for isMust (0.53 sec)

  1. src/internal/coverage/cfile/hooks.go

    // called only by the compiler (via runtime/coverage.initHook).
    //
    // If 'istest' is false, it indicates we're building a regular program
    // ("go build -cover ..."), in which case we immediately try to write
    // out the meta-data file, and register emitCounterData as an exit
    // hook.
    //
    // If 'istest' is true (indicating that the program in question is a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 02:32:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy_test.go

    									XValidations: apiextensions.ValidationRules{
    										{
    											Rule:            "isTest == true",
    											Message:         "isTest should be true.",
    											OptionalOldSelf: ptr.To(true),
    										},
    									},
    									Properties: map[string]apiextensions.JSONSchemaProps{
    										"isTest": {
    											Type: "boolean",
    										},
    									},
    								},
    							},
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/cpp/views/arg_view.cc

    string ArgView::VariableName() const { return arg_.name(); }
    
    string ArgView::SetterMethod() const {
      if (IsList()) {
        return "AddInputList";
      } else {
        return "AddInput";
      }
    }
    
    std::vector<string> ArgView::SetterArgs() const { return {VariableName()}; }
    
    bool ArgView::IsList() const { return arg_.arg_type().is_list(); }
    
    int ArgView::Position() const { return arg_.position(); }
    
    }  // namespace cpp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/runtime/coverage/coverage.go

    package coverage
    
    import (
    	"internal/coverage/cfile"
    	"io"
    )
    
    // initHook is invoked from main.init in programs built with -cover.
    // The call is emitted by the compiler.
    func initHook(istest bool) {
    	cfile.InitHook(istest)
    }
    
    // WriteMetaDir writes a coverage meta-data file for the currently
    // running program to the directory specified in 'dir'. An error will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/os/dir_windows.go

    				d.class = windows.FileIdBothDirectoryInfo
    			} else if d.class == windows.FileFullDirectoryRestartInfo {
    				d.class = windows.FileFullDirectoryInfo
    			}
    		}
    		// Drain the buffer
    		var islast bool
    		for n != 0 && !islast {
    			var nextEntryOffset uint32
    			var nameslice []uint16
    			entry := unsafe.Pointer(&(*d.buf)[d.bufp])
    			if d.class == windows.FileIdBothDirectoryInfo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/time/zoneinfo_read.go

    							offset: offset,
    							isDST:  isDST,
    						}
    					}
    				}
    			}
    			break
    		}
    	}
    
    	return l, nil
    }
    
    func findZone(zones []zone, name string, offset int, isDST bool) int {
    	for i, z := range zones {
    		if z.name == name && z.offset == offset && z.isDST == isDST {
    			return i
    		}
    	}
    	return -1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	case 'Z':
    		return st.localName()
    	case 'U':
    		a, isCast := st.unqualifiedName(nil)
    		if isCast {
    			st.setTemplate(a, nil)
    		}
    		return a, false
    	case 'S':
    		if len(st.str) < 2 {
    			st.advance(1)
    			st.fail("expected substitution index")
    		}
    		var a AST
    		isCast := false
    		subst := false
    		if st.str[1] == 't' {
    			st.advance(2)
    			a, isCast = st.unqualifiedName(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  8. src/go/doc/example.go

    				continue
    			}
    			f, ok := decl.(*ast.FuncDecl)
    			if !ok || f.Recv != nil {
    				continue
    			}
    			numDecl++
    			name := f.Name.Name
    			if isTest(name, "Test") || isTest(name, "Benchmark") || isTest(name, "Fuzz") {
    				hasTests = true
    				continue
    			}
    			if !isTest(name, "Example") {
    				continue
    			}
    			if params := f.Type.Params; len(params.List) != 0 {
    				continue // function has params; not a valid example
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modindex/read.go

    		if pkg == "documentation" {
    			p.IgnoredGoFiles = append(p.IgnoredGoFiles, name)
    			continue
    		}
    		isTest := strings.HasSuffix(name, "_test.go")
    		isXTest := false
    		if isTest && strings.HasSuffix(tf.pkgName(), "_test") && p.Name != tf.pkgName() {
    			isXTest = true
    			pkg = pkg[:len(pkg)-len("_test")]
    		}
    
    		if !isTest && tf.binaryOnly() {
    			p.BinaryOnly = true
    		}
    
    		if p.Name == "" {
    			p.Name = pkg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/BuildScanIntegrationTest.kt

            withSettings(
                """
                buildCache {
                    local {
                        directory = file("${buildCacheDir.normalisedPath}")
                        isEnabled = true
                        isPush = true
                    }
                }
                """
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top