Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 188 for idempotence (0.23 sec)

  1. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

          }
        }
      }
    
      /** Tests that if specify '%' as safe the result is an idempotent escaper. */
      public void testCustomEscaper_withpercent() {
        UnicodeEscaper e = new PercentEscaper("%", false);
        assertEquals("foo%7Cbar", e.escape("foo|bar"));
        assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent
      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/rule/describe/ModelRuleDescriptor.java

    /**
     * Describes a method rule.
     * All implementations of this class are expected to implement the equals and hashCode method
     */
    public interface ModelRuleDescriptor {
        /**
         * This method is expected to be idempotent.
         *
         * @param appendable where to write the description to.
         */
        void describeTo(Appendable appendable);
    
        ModelRuleDescriptor append(ModelRuleDescriptor child);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:38:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. api/openapi-spec/v3/apis__networking.k8s.io__v1alpha1_openapi.json

                "type": "string"
              },
              "namespace": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 196.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/expressionInfoProvider/AbstractReturnTargetSymbolTest.kt

                        expression.returnedExpression?.accept(this)
                    }
    
                    override fun visitComment(comment: PsiComment) {
                        // Skip such comments so that test become idempotent
                        if (comment.text.matches(commentRegex)) return
                        super.visitComment(comment)
                    }
                })
            }
            if (actual != original) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Mar 27 16:04:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. pkg/volume/volume.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    )
    
    // Volume represents a directory used by pods or hosts on a node. All method
    // implementations of methods in the volume interface must be idempotent.
    type Volume interface {
    	// GetPath returns the path to which the volume should be mounted for the
    	// pod.
    	GetPath() string
    
    	// MetricsProvider embeds methods for exposing metrics (e.g.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. src/cmd/fix/doc.go

    the differences a rewrite would introduce.
    
    The -r flag restricts the set of rewrites considered to those in the
    named list.  By default fix considers all known rewrites.  Fix's
    rewrites are idempotent, so that it is safe to apply fix to updated
    or partially updated code even without using the -r flag.
    
    Fix prints the full list of fixes it can apply in its help output;
    to see them, run go tool fix -help.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DeferredProjectConfigurationTest.groovy

            when:
            config.add { events << "a" }
            config.add { events << "b" }
    
            and:
            config.fire()
    
            then:
            events == ["a", "b"]
        }
    
        def "fire is idempotent"() {
            given:
            def events = []
    
            when:
            config.add { events << "a" }
            config.add { events << "b" }
    
            and:
            3.times { config.fire() }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 15 07:22:20 UTC 2016
    - 2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/PercentEscaperTest.java

          }
        }
      }
    
      /** Tests that if specify '%' as safe the result is an idempotent escaper. */
      public void testCustomEscaper_withpercent() {
        UnicodeEscaper e = new PercentEscaper("%", false);
        assertEquals("foo%7Cbar", e.escape("foo|bar"));
        assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent
      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_386.go

    func Or64(ptr *uint64, val uint64) uint64
    
    //go:noescape
    func Anduintptr(ptr *uintptr, val uintptr) uintptr
    
    //go:noescape
    func Oruintptr(ptr *uintptr, val uintptr) uintptr
    
    // NOTE: Do not add atomicxor8 (XOR is not idempotent).
    
    //go:noescape
    func Cas64(ptr *uint64, old, new uint64) bool
    
    //go:noescape
    func CasRel(ptr *uint32, old, new uint32) bool
    
    //go:noescape
    func Store(ptr *uint32, val uint32)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/GradleModuleMetadataWriter.java

     * <li>Add a sample for the module metadata serializer test, to make sure that serialized metadata is idempotent</li>
     * </ul>
     */
    public class GradleModuleMetadataWriter {
        private final BuildInvocationScopeId buildInvocationScopeId;
        private final ChecksumService checksumService;
    
        public GradleModuleMetadataWriter(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 22:10:58 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top