- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for checkMode (0.15 sec)
-
src/go/printer/printer_test.go
var fset = token.NewFileSet() type checkMode uint const ( export checkMode = 1 << iota rawFormat normNumber idempotent allowTypeParams ) // format parses src, prints the corresponding AST, verifies the resulting // src is syntactically correct, and returns the resulting src or an error // if any. func format(src []byte, mode checkMode) ([]byte, error) { // parse src
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 20.4K bytes - Viewed (0) -
src/testing/fstest/testfs.go
} } } for _, entry1 := range list1 { old[entry1.Name()] = entry1 checkMode(entry1) } var diffs []string for _, entry2 := range list2 { entry1 := old[entry2.Name()] if entry1 == nil { checkMode(entry2) diffs = append(diffs, "+ "+formatEntry(entry2)) continue } if formatEntry(entry1) != formatEntry(entry2) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0) -
platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomBinaryIntegrationTest.groovy
} apply plugin: Rules ''' then: succeeds "checkModel" } def "can configure binary defined by rule method using rule DSL"() { when: buildWithCustomBinaryPlugin() and: buildFile << ''' model { tasks { checkModel(Task) { doLast { def binaries = $.binaries
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 11K bytes - Viewed (0) -
platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentPluginIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 10.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy
private static void checkContentRoot(IdeaContentRoot actual, IdeaContentRoot expected) { checkModel(actual, expected, [ { it.rootDirectory }, { it.excludeDirectories }, ]) } private static void checkDependency(IdeaDependency actual, IdeaDependency expected) { checkModel(actual, expected, [ { it.scope.scope }, { it.exported }, ])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 20.9K bytes - Viewed (0) -
platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentBinariesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 13.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete.go
transformResponseObject(ctx, scope, req, w, status, outputMediaType, result) } } // DeleteCollection returns a function that will handle a collection deletion func DeleteCollection(r rest.CollectionDeleter, checkBody bool, scope *RequestScope, admit admission.Interface) http.HandlerFunc { return func(w http.ResponseWriter, req *http.Request) { ctx := req.Context() ctx, span := tracing.Start(ctx, "Delete", traceFields(req)...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 01 10:00:32 UTC 2023 - 11.4K bytes - Viewed (0) -
pkg/scheduler/framework/preemption/preemption.go
violatingCandidates := newCandidateList(numCandidates) ctx, cancel := context.WithCancel(ctx) defer cancel() nodeStatuses := make(framework.NodeToStatusMap) var statusesLock sync.Mutex var errs []error checkNode := func(i int) { nodeInfoCopy := potentialNodes[(int(offset)+i)%len(potentialNodes)].Snapshot() stateCopy := ev.State.Clone() pods, numPDBViolations, status := ev.SelectVictimsOnNode(ctx, stateCopy, pod, nodeInfoCopy, pdbs)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 25.1K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/fetch.go
if foundSum != "" && foundSum != h { // conflicting sums exist return "", false } foundSum = h } } return foundSum, true } // checkMod checks the given module's checksum and Go version. func checkMod(ctx context.Context, mod module.Version) { // Do the file I/O before acquiring the go.sum lock. ziphash, err := CachePath(ctx, mod, "ziphash") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 30.3K bytes - Viewed (0) -
pkg/scheduler/schedule_one.go
ctx, cancel := context.WithCancel(ctx) defer cancel() type nodeStatus struct { node string status *framework.Status } result := make([]*nodeStatus, numAllNodes) checkNode := func(i int) { // We check the nodes starting from where we left off in the previous scheduling cycle, // this is to make sure all nodes have the same chance of being examined across pods.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:28:08 UTC 2024 - 43.4K bytes - Viewed (0)