Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 93 for appendRule (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/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)
  9. src/syscall/wtf8_windows.go

    			i++
    		default:
    			// WTF-8 fallback.
    			// This only handles the 3-byte case of utf8.AppendRune,
    			// as surrogates always fall in that case.
    			ar = rune(r)
    			if ar > utf8.MaxRune {
    				ar = utf8.RuneError
    			}
    			buf = append(buf, t3|byte(ar>>12), tx|byte(ar>>6)&maskx, tx|byte(ar)&maskx)
    			continue
    		}
    		buf = utf8.AppendRune(buf, ar)
    	}
    	return buf
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 09:26:16 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharSource.java

       * Does not close {@code appendable} if it is {@code Closeable}.
       *
       * @return the number of characters copied
       * @throws IOException if an I/O error occurs while reading from this source or writing to {@code
       *     appendable}
       */
      @CanIgnoreReturnValue
      public long copyTo(Appendable appendable) throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 22.4K bytes
    - Viewed (0)
Back to top