Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for violations (0.53 sec)

  1. guava/src/com/google/common/base/Suppliers.java

        return new ExpiringMemoizingSupplier<>(delegate, toNanosSaturated(duration));
      }
    
      @VisibleForTesting
      @SuppressWarnings("GoodTime") // lots of violations
      static class ExpiringMemoizingSupplier<T extends @Nullable Object>
          implements Supplier<T>, Serializable {
        final Supplier<T> delegate;
        final long durationNanos;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Suppliers.java

        return new ExpiringMemoizingSupplier<>(delegate, toNanosSaturated(duration));
      }
    
      @VisibleForTesting
      @SuppressWarnings("GoodTime") // lots of violations
      static class ExpiringMemoizingSupplier<T extends @Nullable Object>
          implements Supplier<T>, Serializable {
        final Supplier<T> delegate;
        final long durationNanos;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  3. android/pom.xml

                    <!-- TODO(cpovirk): Enable NullArgumentForNonNullParameter for
                         prod code. It's disabled automatically for "test code"
                         (which is good: our tests have intentional violations), but
                         Error Prone doesn't know it's building test code unless we
                         pass -XepCompilingTestOnlyCode, and that argument needs to
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  4. .bazelrc

    # TODO: remove those flags when they are flipped in the default Bazel version TF uses.
    build --incompatible_enforce_config_setting_visibility
    # TODO: also enable this flag after fixing the visibility violations
    # build --incompatible_config_setting_private_default_visibility
    
    # Default options should come above this line.
    
    # Android configs. Bazel needs to have --cpu and --fat_apk_cpu both set to the
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  5. guava/src/com/google/common/cache/LocalCache.java

     *
     * @author Charles Fry
     * @author Bob Lee ({@code com.google.common.collect.MapMaker})
     * @author Doug Lea ({@code ConcurrentHashMap})
     */
    @SuppressWarnings({
      "GoodTime", // lots of violations (nanosecond math)
      "nullness", // too much trouble for the payoff
    })
    @GwtCompatible(emulated = true)
    // TODO(cpovirk): Annotate for nullness.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

     *
     * @author Charles Fry
     * @author Bob Lee ({@code com.google.common.collect.MapMaker})
     * @author Doug Lea ({@code ConcurrentHashMap})
     */
    @SuppressWarnings({
      "GoodTime", // lots of violations (nanosecond math)
      "nullness", // too much trouble for the payoff
    })
    @GwtCompatible(emulated = true)
    // TODO(cpovirk): Annotate for nullness.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            return repository.isOverride(method)
        }
    
        Violation acceptOrReject(JApiCompatibility member, Violation rejection) {
            List<String> changes = member.compatibilityChanges.collect { Violation.describe(it) }
            return acceptOrReject(member, changes, rejection)
        }
    
        Violation acceptOrReject(JApiCompatibility member, List<String> changes, Violation rejection) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  8. errors.go

    	// ErrDuplicatedKey occurs when there is a unique key constraint violation
    	ErrDuplicatedKey = errors.New("duplicated key not allowed")
    	// ErrForeignKeyViolated occurs when there is a foreign key constraint violation
    	ErrForeignKeyViolated = errors.New("violates foreign key constraint")
    	// ErrCheckConstraintViolated occurs when there is a check constraint violation
    	ErrCheckConstraintViolated = errors.New("violates check constraint")
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 02:53:17 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

         */
        public static boolean shouldAcceptForUpgradedProperty(JApiMethod jApiMethod, Violation violation, ViolationCheckContext context) {
            if (violation.getHumanExplanation().startsWith(SINCE_ERROR_MESSAGE)) {
                // We still want to report the violation if @since is not added to a method
                return false;
            }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                }
            }
    
            if (!errors.isEmpty()) {
                def changes = errors + warnings
                return acceptOrReject(member, changes, Violation.error(member, changes.join(" ")))
            }
            if (!warnings.isEmpty()) {
                return Violation.warning(member, warnings.join(" "))
            }
            return null
        }
    
        private static List<Boolean> parametersNullabilityOf(CtBehavior behavior) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Apr 13 10:04:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top