Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 288 for Violations (0.27 sec)

  1. src/cmd/vet/doc.go

    	bools            check for common mistakes involving boolean operators
    	buildtag         check //go:build and // +build directives
    	cgocall          detect some violations of the cgo pointer passing rules
    	composites       check for unkeyed composite literals
    	copylocks        check for locks erroneously passed by value
    	defers           report common mistakes in defer statements
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 00:17:30 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/validation_test.go

    			}
    
    			// check that we got all violations
    			t.Logf("Got violations: %q", cond.Message)
    			for _, v := range tst.expectedViolations {
    				if strings.Index(cond.Message, v) == -1 {
    					t.Errorf("expected violation %q, but didn't get it", v)
    				}
    			}
    			for _, v := range tst.unexpectedViolations {
    				if strings.Index(cond.Message, v) != -1 {
    					t.Errorf("unexpected violation %q", v)
    				}
    			}
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 26 20:48:36 UTC 2021
    - 63.6K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/PmdInvoker.groovy

                }
            }
            def failureCount = ant.builder.project.properties["pmdFailureCount"]
            if (failureCount) {
                def message = "$failureCount PMD rule violations were found."
                def report = reports.isEmpty() ? null : reports.get(0)
                if (report) {
                    def reportUrl = new ConsoleRenderer().asClickableFileUrl(report.outputLocation.asFile.get())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

            return exceptions == null ? Collections.emptyList() : Collections.unmodifiableList(exceptions);
        }
    
        // ------------------------------------------------------------------------
        // Version Range Violations
        // ------------------------------------------------------------------------
    
        public boolean hasVersionRangeViolations() {
            return versionRangeViolations != null;
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    // Copyright 2015 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.
    
    // Package cgocall defines an Analyzer that detects some violations of
    // the cgo pointer passing rules.
    package cgocall
    
    import (
    	"fmt"
    	"go/ast"
    	"go/format"
    	"go/parser"
    	"go/token"
    	"go/types"
    	"log"
    	"os"
    	"strconv"
    
    	"golang.org/x/tools/go/analysis"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/build/KotlinDslTestProjectInitiation.groovy

                dependencies {
                    "runtimeOnly"(project(":a"))
                    "runtimeOnly"(project(":b"))
                }
            """)
    
            // Duplication in build scripts to avoid Isolated Projects violations without introducing shared build logic
            withBuildScriptIn("buildSrc/a", """
                plugins {
                    id("org.gradle.kotlin.kotlin-dsl")
                }
                $repositoriesBlock
            """)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

            String enrichedDesc = data.description + buildFixAllButton(currentApiChanges) + buildAutoSelectSeverityFilter()
            return new RichReportData(data.reportTitle, enrichedDesc, data.violations)
        }
    
        private static String buildFixAllButton(String currentApiChanges) {
            // language=javascript
            return """
                <script type="text/javascript">
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 07 20:38:43 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/optimizing-performance/isolated_projects.adoc

    These will addressed in future Gradle releases:
    
    * Gradle, IDEA, Android Studio and the Kotlin plugins are not yet 100% compatible with isolated projects, so you should expect to see some violations reported. The teams are actively working on fixing these incompatibilities.
    * Parallel configuration and fine-grained caching are not applied to task execution. They are only applied to IDE sync.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:53:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

            then:
            !output.contains("configuration cache")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/27956")
        def "dependencies of builds tested with TestKit in debug mode are instrumented and violations are reported"() {
            given:
            file("included/src/main/java/MyPlugin.java") << """
                import org.gradle.api.*;
    
                public class MyPlugin implements Plugin<Project> {
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/nonstructuralschema/nonstructuralschema_controller.go

    		allErrs = append(allErrs, schema.ValidateStructural(pth, s)...)
    	}
    
    	if len(allErrs) == 0 {
    		return nil
    	}
    
    	cond.Status = apiextensionsv1.ConditionTrue
    	cond.Reason = "Violations"
    	cond.Message = allErrs.ToAggregate().Error()
    
    	return cond
    }
    
    func (c *ConditionController) sync(key string) error {
    	inCustomResourceDefinition, err := c.crdLister.Get(key)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top