Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 641 for Warningf (0.4 sec)

  1. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleDeprecationMessageGroupedTaskFunctionalTest.groovy

        private static final String JAVA_SRC_DIR_PATH = 'src/main/java'
    
        def "compiler warnings emitted from compilation task are grouped"() {
            given:
            def javaSourceFile = file("$JAVA_SRC_DIR_PATH/MyClass.java")
            def expectedOutput = "${javaSourceFile.absolutePath}:4: warning: [deprecation] Legacy in unnamed package has been deprecated"
    
            buildFile << """
                apply plugin: 'java'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go

    		if len(results) != 0 {
    			warnings = append(warnings, v1.ExpressionWarning{
    				FieldRef: fieldRef.Index(i).Child("expression").String(),
    				Warning:  results.String(),
    			})
    		}
    		// Note that MessageExpression is optional
    		if v.MessageExpression == "" {
    			continue
    		}
    		results = c.CheckExpression(ctx, v.MessageExpression)
    		if len(results) != 0 {
    			warnings = append(warnings, v1.ExpressionWarning{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. cmd/server-rlimit.go

    		// Could not probe the kernel version
    		return false
    	}
    
    	if currentKernel == 0 {
    		// We could not get any valid value return false
    		return false
    	}
    
    	// legacy linux indicator for printing warnings
    	// about older Linux kernels and Go runtime.
    	return currentKernel < kernel.Version(4, 0, 0)
    }
    
    func setMaxResources(ctx serverCtxt) (err error) {
    	// Set the Go runtime max threads threshold to 90% of kernel setting.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/logging.adoc

    `-S` or `--full-stacktrace`::
    The full stacktraces are printed out. This option renders stacktraces for deprecation warnings.
    
    &lt;No stacktrace options&gt;::
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 18:32:47 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. src/internal/coverage/pods/pods.go

    				fo := fileWithAnnotations{file: f, origin: idx, pid: pid}
    				v.elements = append(v.elements, fo)
    				mm[tag] = v
    			} else {
    				if warn {
    					warning("skipping orphaned counter file: %s", f)
    				}
    			}
    		}
    	}
    	if len(mm) == 0 {
    		if warn {
    			warning("no coverage data files found")
    		}
    		return nil
    	}
    	pods := make([]Pod, 0, len(mm))
    	for _, p := range mm {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                assertThat("Has errors", richReport.errors.map { it.message }, CoreMatchers.equalTo(errors.toList()))
            }
    
            fun assertHasWarnings(vararg warnings: String) {
                assertThat("Has warnings", richReport.warnings.map { it.message }, CoreMatchers.equalTo(warnings.toList()))
            }
    
            fun assertHasInformation(vararg information: String) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/ValidatePlugins.java

            Stream<String> messages = ValidationProblemSerialization.toPlainMessage(problems).sorted();
            if (problems.isEmpty()) {
                getLogger().info("Plugin validation finished without warnings.");
            } else {
                if (getFailOnWarning().get() || problems.stream().anyMatch(problem -> problem.getDefinition().getSeverity() == ERROR)) {
                    if (getIgnoreFailures().get()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 04 07:42:50 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/CompileOptions.java

        }
    
        /**
         * Tells whether to log warning messages. The default is {@code true}.
         */
        @Console
        public boolean isWarnings() {
            return warnings;
        }
    
        /**
         * Sets whether to log warning messages. The default is {@code true}.
         */
        public void setWarnings(boolean warnings) {
            this.warnings = warnings;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. src/cmd/covdata/covdata.go

    	if *verbflag >= vlevel {
    		fmt.Printf(s, a...)
    		fmt.Printf("\n")
    	}
    }
    
    func warn(s string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, "warning: ")
    	fmt.Fprintf(os.Stderr, s, a...)
    	fmt.Fprintf(os.Stderr, "\n")
    	if *hwflag {
    		panic("unexpected warning")
    	}
    }
    
    func fatal(s string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, "error: ")
    	fmt.Fprintf(os.Stderr, s, a...)
    	fmt.Fprintf(os.Stderr, "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. pkg/webhooks/validation/server/server.go

    		reportValidationFailed(request, reason, isDryRun)
    		return toAdmissionResponse(err)
    	}
    
    	reportValidationPass(request)
    	return &kube.AdmissionResponse{Allowed: true, Warnings: toKubeWarnings(warnings)}
    }
    
    func toKubeWarnings(warn validation.Warning) []string {
    	if warn == nil {
    		return nil
    	}
    	me, ok := warn.(*multierror.Error)
    	if ok {
    		res := []string{}
    		for _, e := range me.Errors {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 04 06:13:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top