Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 936 for Bad (0.03 sec)

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

    }
    
    func isTimeDotParse(f *types.Func) bool {
    	return analysisutil.IsFunctionNamed(f, "time", "Parse")
    }
    
    // badFormatAt return the start of a bad format in e or -1 if no bad format is found.
    func badFormatAt(info *types.Info, e ast.Expr) int {
    	tv, ok := info.Types[e]
    	if !ok { // no type info, assume good
    		return -1
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformParallelIntegrationTest.groovy

                    }
                }
            """
    
            server.expectConcurrent("a.jar", "bad-b.jar", "bad-c.jar")
    
            when:
            fails ":resolve"
    
            then:
            failure.assertHasCause("Failed to transform bad-b.jar to match attributes {artifactType=size}")
            failure.assertHasCause("Failed to transform bad-c.jar to match attributes {artifactType=size}")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/MappingSourceDependencyIntegrationTest.groovy

                                ${repoDef}
                            }
                        }
                    }
                }
            """
        }
    
        def 'emits sensible error when bad code is in vcsMappings block'() {
            settingsFile << """
                sourceControl {
                    vcsMappings {
                        all { details ->
                            foo()
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/slf4j/OutputEventListenerBackedLoggerTest.groovy

            then:
            singleLogEvent().message("message").logLevel(DEBUG).throwable(t).eventExpected(eventExpected)
    
            when:
            logger().debug("There was a {} error", "bad", t)
    
            then:
            singleLogEvent().message("There was a bad error").logLevel(DEBUG).throwable(t).eventExpected(eventExpected)
    
            where:
            level     | eventExpected
            DEBUG     | true
            INFO      | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 26.1K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationSpec.groovy

                public class JUnitJupiterTest {
                    @Test
                    @Tag("good")
                    public void good() { }
    
                    @Test
                    @Tag("bad")
                    public void bad() { }
                }
                '''
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. src/crypto/ecdh/ecdh_test.go

    		// the probability of a rejection is 1-ord(G)/2^ceil(log2(ord(G))),
    		// which for all curves is small enough (at most 2^-32, for P-256) that
    		// a bit flip is more likely to make this test fail than bad luck.
    		// Account for the extra MaybeReadByte byte, too.
    		if got, expected := r.n, len(k.Bytes())+1; got > expected {
    			t.Errorf("expected GenerateKey to consume at most %v bytes, got %v", expected, got)
    		}
    	})
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

              @Override
              public boolean isCancelled() {
                return true; // BAD!!
              }
    
              @Override
              public String get() {
                return "foo"; // BAD!!
              }
    
              @Override
              public String get(long time, TimeUnit unit) {
                return "foo"; // BAD!!
              }
    
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

              @Override
              public boolean isCancelled() {
                return true; // BAD!!
              }
    
              @Override
              public String get() {
                return "foo"; // BAD!!
              }
    
              @Override
              public String get(long time, TimeUnit unit) {
                return "foo"; // BAD!!
              }
    
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/pseudo_test.go

    		{"DATA", "·A(SB)/4,0", "DATA value must be an immediate constant or address"},
    		{"DATA", "·B(SB)/4,$0", ""},
    		{"DATA", "·C(SB)/5,$0", "bad int size for DATA argument: 5"},
    		{"DATA", "·D(SB)/5,$0.0", "bad float size for DATA argument: 5"},
    		{"DATA", "·E(SB)/4,$·A(SB)", "bad addr size for DATA argument: 4"},
    		{"DATA", "·F(SB)/8,$·A(SB)", ""},
    		{"DATA", "·G(SB)/5,$\"abcde\"", ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

    import java.time.temporal.ChronoField.SECOND_OF_MINUTE
    import java.util.logging.Formatter
    import java.util.logging.LogRecord
    
    /**
     * Is Java8 Data and Time really this bad, or is writing this on a plane from just javadocs a bad
     * idea?
     *
     * Why so much construction?
     */
    class OneLineLogFormat : Formatter() {
      private val d =
        DateTimeFormatterBuilder()
          .appendValue(HOUR_OF_DAY, 2)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top