Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for Sanitize (3.46 sec)

  1. src/main/webapp/js/admin/plugins/form-validator/sanitize.js

    |(e=a(e));var g=function(){var b=a(this),c=b.val();a.split(b.attr("data-sanitize"),function(a){if(!(a in d))throw new Error('Use of unknown sanitize command "'+a+'"');c=d[a](c,b,f)}),b.val(c).trigger("keyup.validation")};e.each(function(){var b=a(this);f.sanitizeAll&&b.find("input,textarea").not(c).each(function(){var b=a(this),c=b.attr("data-sanitize")||"";b.attr("data-sanitize",f.sanitizeAll+" "+c)}),b.find("[data-sanitize]").unbind("blur.sanitation",g).bind("blur.sanitation",g),a(function(){b...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueSanitizers.java

    import javax.annotation.Nullable;
    
    public class ValueSanitizers {
        private static final ValueSanitizer<Object> STRING_VALUE_SANITIZER = new ValueSanitizer<Object>() {
            @Override
            @Nullable
            public Object sanitize(@Nullable Object value) {
                if (value instanceof GString) {
                    return value.toString();
                } else {
                    return value;
                }
            }
        };
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. pkg/test/util/yml/cache.go

    func (c *Cache) generateFileName(key CacheKey) string {
    	c.discriminator++
    	d := c.discriminator
    
    	name := fmt.Sprintf("%s_%s_%s_%s-%d.yaml",
    		sanitize(key.group), sanitize(key.kind), sanitize(key.namespace), sanitize(key.name), d)
    
    	return path.Join(c.dir, name)
    }
    
    func sanitize(c string) string {
    	return strings.Replace(
    		strings.Replace(c, "/", "", -1),
    		".", "_", -1)
    }
    
    func toKey(d Descriptor) CacheKey {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 03 18:09:59 UTC 2021
    - 4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValidatingMapEntryCollector.java

                "Cannot get the value of a property of type %s with value type %s as the source contains a null value for key \"%s\".",
                Map.class.getName(), valueType.getName(), key);
    
            K sanitizedKey = keySanitizer.sanitize(key);
            if (!keyType.isInstance(sanitizedKey)) {
                throw new IllegalArgumentException(String.format(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValidatingValueCollector.java

                collectionType.getName(), elementType.getName());
    
            T sanitized = sanitizer.sanitize(value);
            if (!elementType.isInstance(sanitized)) {
                throw new IllegalArgumentException(String.format(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/TypeSanitizingTransformer.java

        private final DisplayName owner;
        private final ValueSanitizer<? super T> sanitizer;
        private final Class<? super T> targetType;
    
        public TypeSanitizingTransformer(DisplayName owner, ValueSanitizer<? super T> sanitizer, Class<? super T> targetType) {
            this.owner = owner;
            this.sanitizer = sanitizer;
            this.targetType = targetType;
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueSanitizer.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.provider;
    
    import javax.annotation.Nullable;
    
    public interface ValueSanitizer<T> {
        @Nullable
        T sanitize(@Nullable T value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 783 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/debug/debug.cc

    }
    
    // Removes unwanted characters for readability and to eliminate issues when
    // saving a file.
    std::string Sanitize(absl::string_view string) {
      static const auto& kUnwantedChars = *new absl::flat_hash_set<char>{
          '<', '>', ':', '\"', '/', '\\', '|', '?', '*', ' ', '(', ')'};
    
      std::string sanitized;
      sanitized.reserve(string.size());
    
      bool skip = false;
      for (const char& c : string) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 02:44:52 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. platforms/ide/problems-api/src/main/java/org/gradle/problems/buildtree/ProblemStream.java

         * </p>
         *
         * <p>
         * Stack trace sanitization should be handled by this service and this method removed.
         * </p>
         *
         * @param transformer A transformer to use to sanitize the stack trace.
         */
        ProblemDiagnostics forCurrentCaller(StackTraceTransformer transformer);
    
        /**
         * Returns diagnostics based on the state of the calling thread.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 06:37:14 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt

            require(typeConstructor is TypeConstructor)
    
            return when (val declaration = typeConstructor.declarationDescriptor) {
                is TypeParameterDescriptor -> declaration.name.asString().sanitize()
                is TypeAliasDescriptor -> getClassInternalName(declaration.expandedType.constructor)
                is ClassDescriptor -> computeClassInternalName(declaration) ?: computeSupertypeInternalName(declaration)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top