Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 106 for appendRule (0.22 sec)

  1. subprojects/core/src/main/java/org/gradle/initialization/BuildClientMetaData.java

    /**
     * A bunch of information about the client used to start this build.
     */
    public interface BuildClientMetaData {
        /**
         * Appends a message to the given appendable describing how to run the client with the given command-line args.
         */
        void describeCommand(Appendable output, String... args);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 963 bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/rule/describe/SimpleModelRuleDescriptor.java

                }
            });
        }
    
        private String getDescriptor() {
            return factory.create();
        }
    
        @Override
        public void describeTo(Appendable appendable) {
            try {
                appendable.append(getDescriptor());
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        @Override
        public boolean equals(Object o) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. cmd/xl-storage_windows_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	err = fs.AppendFile(context.Background(), "voldir", "/file", []byte("hello"))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Try to create a file that includes a file in its path components.
    	// In *nix, this returns syscall.ENOTDIR while in windows we receive the following error.
    	err = fs.AppendFile(context.Background(), "voldir", "/file/obj1", []byte("hello"))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/rule/describe/MethodModelRuleDescriptor.java

        private int hashCode;
    
        public MethodModelRuleDescriptor(WeaklyTypeReferencingMethod<?, ?> method) {
            this.method = method;
        }
    
        @Override
        public void describeTo(Appendable appendable) {
            try {
                appendable.append(getDescription());
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        private String getDescription() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/StreamingStyledTextOutputFactory.java

    package org.gradle.internal.logging.text;
    
    import org.gradle.api.logging.LogLevel;
    
    public class StreamingStyledTextOutputFactory extends AbstractStyledTextOutputFactory {
        private final Appendable target;
    
        public StreamingStyledTextOutputFactory(Appendable target) {
            this.target = target;
        }
    
        @Override
        public StyledTextOutput create(String logCategory, LogLevel logLevel) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    	// Create test files for further reading.
    	for i, appendFile := range appendFiles {
    		err = xlStorage.AppendFile(context.Background(), volume, appendFile.fileName, []byte("hello, world"))
    		if err != appendFile.expectedErr {
    			t.Fatalf("Creating file failed: %d %#v, expected: %s, got: %s", i+1, appendFile, appendFile.expectedErr, err)
    		}
    	}
    
    	{
    		buf := make([]byte, 5)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/AppendableWriter.java

    /**
     * Writer that places all output on an {@link Appendable} target. If the target is {@link Flushable}
     * or {@link Closeable}, flush()es and close()s will also be delegated to the target.
     *
     * @author Alan Green
     * @author Sebastian Kanthak
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    class AppendableWriter extends Writer {
      private final Appendable target;
      private boolean closed;
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/CharStreams.java

       * Copies all characters between the {@link Readable} and {@link Appendable} objects. Does not
       * close or flush either object.
       *
       * @param from the object to read from
       * @param to the object to write to
       * @return the number of characters copied
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue
      public static long copy(Readable from, Appendable to) throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/test/groovy/org/gradle/api/reporting/model/internal/ModelNodeRendererTest.groovy

        def "should filter rules removing duplicates and excluding creators"() {
            ModelRuleDescriptor creator = Mock()
            creator.describeTo(_) >> { Appendable a ->
                a.append("creator")
            }
    
            ModelRuleDescriptor mutator = Mock()
            mutator.describeTo(_) >> { Appendable a ->
                a.append("mutator")
            }
    
            ModelNode modelNode = Mock()
            modelNode.getDescriptor() >> creator
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 01 02:14:13 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/FailurePrinter.java

            return output.toString();
        }
    
        public static void print(Appendable output, Failure failure, FailurePrinterListener listener) {
            new Job(output, listener).print(failure);
        }
    
        private static final class Job {
    
            private final FailurePrinterListener listener;
    
            private final Appendable builder;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:45:41 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top