Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for appendRule (0.19 sec)

  1. tools/istio-iptables/pkg/builder/iptables_builder_impl.go

    	return rb.appendInternal(&rb.rules.rulesv4, command, chain, table, params...)
    }
    
    func (rb *IptablesRuleBuilder) AppendRule(command log.Command, chain string, table string, params ...string) *IptablesRuleBuilder {
    	rb.AppendRuleV4(command, chain, table, params...)
    	rb.AppendRuleV6(command, chain, table, params...)
    	return rb
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/StreamingStyledTextOutputTest.groovy

            then:
            1 * listener.onOutput('text')
        }
    
        def forwardsTextToAnAppendable() {
            Appendable appendable = Mock()
            StreamingStyledTextOutput output = new StreamingStyledTextOutput(appendable)
    
            when:
            output.text('text')
    
            then:
            1 * appendable.append('text')
        }
    
        def ignoresStyleInformation() {
            StandardOutputListener listener = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/StreamBackedStandardOutputListener.java

    public class StreamBackedStandardOutputListener implements StandardOutputListener {
        private final Appendable appendable;
        private final Flushable flushable;
    
        public StreamBackedStandardOutputListener(Appendable appendable) {
            this.appendable = appendable;
            if (appendable instanceof Flushable) {
                flushable = (Flushable) appendable;
            } else {
                flushable = new Flushable() {
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/StreamingStyledTextOutput.java

            this(listener, listener);
        }
    
        /**
         * Creates a text output which writes text to the given appendable.
         * @param appendable The appendable.
         */
        public StreamingStyledTextOutput(final Appendable appendable) {
            this(appendable, new StreamBackedStandardOutputListener(appendable));
        }
    
        private StreamingStyledTextOutput(Object target, StandardOutputListener listener) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/rule/describe/NestedModelRuleDescriptor.java

            this.child = child;
        }
    
        @Override
        public void describeTo(Appendable appendable) {
            parent.describeTo(appendable);
            try {
                appendable.append(" > ");
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
            child.describeTo(appendable);
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/StreamBackedStandardOutputListenerTest.groovy

    class StreamBackedStandardOutputListenerTest extends Specification {
        def canAppendToAnAppendable() {
            Appendable appendable = Mock()
            def listener = new StreamBackedStandardOutputListener(appendable)
    
            when:
            listener.onOutput("text")
    
            then:
            1 * appendable.append("text")
            0 * _._
        }
    
        def canAppendToAWriter() {
            Writer writer = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Logger.java

     */
    package org.gradle.wrapper;
    
    public class Logger implements Appendable {
    
        private final boolean quiet;
    
        public Logger(boolean quiet) {
            this.quiet = quiet;
        }
    
        public void log(String message) {
            if (!quiet) {
                System.out.println(message);
            }
        }
    
        @Override
        public Appendable append(CharSequence csq) {
            if (!quiet) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/IO.kt

     */
    
    package org.gradle.kotlin.dsl.internal.sharedruntime.support
    
    
    /**
     * Appends value to the given Appendable and simple `\n` line separator after it.
     *
     * Always using the same line separator on all systems to allow for reproducible outputs.
     */
    fun Appendable.appendReproducibleNewLine(value: CharSequence = ""): Appendable {
        assert('\r' !in value) {
            "Unexpected line ending in string."
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:27 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/rule/describe/ModelRuleDescriptor.java

     */
    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);
    
        ModelRuleDescriptor append(String child);
    
        @FormatMethod
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:38:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/AppendableWriterTest.java

      private static class SpyAppendable implements Appendable, Flushable, Closeable {
        boolean flushed;
        boolean closed;
        StringBuilder result = new StringBuilder();
    
        @Override
        public Appendable append(CharSequence csq) {
          result.append(csq);
          return this;
        }
    
        @Override
        public Appendable append(char c) {
          result.append(c);
          return this;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top