Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,376 for doappend (0.16 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/AbstractStyledTextOutput.java

            @Override
            public StyledTextOutput append(char c) {
                Style original = textOutput.getStyle();
                textOutput.style(style).append(c).style(original);
                return this;
            }
    
            @Override
            public StyledTextOutput append(CharSequence csq) {
                Style original = textOutput.getStyle();
                textOutput.style(style).append(csq).style(original);
                return this;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/text/unicode/norm/readwriter.go

    	const chunk = 4000
    
    	for len(data) > 0 {
    		// Normalize into w.buf.
    		m := len(data)
    		if m > chunk {
    			m = chunk
    		}
    		w.rb.src = inputBytes(data[:m])
    		w.rb.nsrc = m
    		w.buf = doAppend(&w.rb, w.buf, 0)
    		data = data[m:]
    		n += m
    
    		// Write out complete prefix, save remainder.
    		// Note that lastBoundary looks back at most 31 runes.
    		i := lastBoundary(&w.rb.f, w.buf)
    		if i == -1 {
    			i = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/unicode/norm/readwriter.go

    	const chunk = 4000
    
    	for len(data) > 0 {
    		// Normalize into w.buf.
    		m := len(data)
    		if m > chunk {
    			m = chunk
    		}
    		w.rb.src = inputBytes(data[:m])
    		w.rb.nsrc = m
    		w.buf = doAppend(&w.rb, w.buf, 0)
    		data = data[m:]
    		n += m
    
    		// Write out complete prefix, save remainder.
    		// Note that lastBoundary looks back at most 31 runes.
    		i := lastBoundary(&w.rb.f, w.buf)
    		if i == -1 {
    			i = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/BufferingStyledTextOutput.java

                events.remove(events.size() - 1);
            }
            events.add(new ChangeStyleAction(style));
        }
    
        @Override
        protected void doAppend(final String text) {
            if (text.length() == 0) {
                return;
            }
            hasContent = true;
            events.add(new Action<StyledTextOutput>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. src/runtime/defer_test.go

    		}
    
    	}()
    	testConditionalDefers(8)
    }
    
    func testConditionalDefers(n int) {
    	doappend := func(i int) {
    		list = append(list, i)
    	}
    
    	defer doappend(1)
    	if n > 5 {
    		defer doappend(2)
    		if n > 8 {
    			defer doappend(3)
    		} else {
    			defer doappend(4)
    		}
    	}
    	panic("testConditional")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:57:24 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/text/unicode/norm/normalize.go

    	rb.out = rb.src.appendSlice(rb.out, i, end)
    	return end
    }
    
    // Append returns f(append(out, b...)).
    // The buffer out must be nil, empty, or equal to f(out).
    func (f Form) Append(out []byte, src ...byte) []byte {
    	return f.doAppend(out, inputBytes(src), len(src))
    }
    
    func (f Form) doAppend(out []byte, src input, n int) []byte {
    	if n == 0 {
    		return out
    	}
    	ft := formTable[f]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 14.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/StreamingStyledTextOutput.java

            this.listener = listener;
            closeable = target instanceof Closeable ? (Closeable) target : null;
        }
    
        @Override
        protected void doAppend(String text) {
            listener.onOutput(text);
        }
    
        /**
         * Closes the target object if it implements {@link java.io.Closeable}.
         */
        @Override
        public void close() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/testFixtures/groovy/org/gradle/internal/logging/text/TestStyledTextOutput.groovy

        }
    
        @Override
        protected void doStyleChange(Style style) {
            result.append("{${style.toString().toLowerCase()}}")
        }
    
        @Override
        protected void doAppend(String text) {
            result.append(text)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    	rb.out = rb.src.appendSlice(rb.out, i, end)
    	return end
    }
    
    // Append returns f(append(out, b...)).
    // The buffer out must be nil, empty, or equal to f(out).
    func (f Form) Append(out []byte, src ...byte) []byte {
    	return f.doAppend(out, inputBytes(src), len(src))
    }
    
    func (f Form) doAppend(out []byte, src input, n int) []byte {
    	if n == 0 {
    		return out
    	}
    	ft := formTable[f]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/AbstractLineChoppingStyledTextOutput.java

                start = pos;
                seenFromEol.clear();
            }
    
            void flushLineText() {
                // Left over data from previous append is only possible when a multi-chars new line is
                // been processed and split across multiple append calls.
                if (start < pos) {
                    String data = "";
                    // Flushing data split across previous and current appending
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top