Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for Stabil (0.15 sec)

  1. pkg/util/tail/tail.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package tail
    
    import (
    	"io"
    	"os"
    )
    
    const (
    	// blockSize is the block size used in tail.
    	blockSize = 1024
    )
    
    // ReadAtMost reads at most max bytes from the end of the file identified by path or
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/reporting/TabsRenderer.java

                    for (int i = 0; i < this.tabs.size(); i++) {
                        TabDefinition tab = this.tabs.get(i);
                        String tabId = "tab" + i;
                        htmlWriterWriter.startElement("li");
                            htmlWriterWriter.startElement("a").attribute("href", "#" + tabId).characters(tab.title).endElement();
                        htmlWriterWriter.endElement();
                    }
                htmlWriterWriter.endElement();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 2.6K bytes
    - Viewed (0)
  3. src/sync/poolqueue.go

    type dequeueNil *struct{}
    
    func (d *poolDequeue) unpack(ptrs uint64) (head, tail uint32) {
    	const mask = 1<<dequeueBits - 1
    	head = uint32((ptrs >> dequeueBits) & mask)
    	tail = uint32(ptrs & mask)
    	return
    }
    
    func (d *poolDequeue) pack(head, tail uint32) uint64 {
    	const mask = 1<<dequeueBits - 1
    	return (uint64(head) << dequeueBits) |
    		uint64(tail&mask)
    }
    
    // pushHead adds val at the head of the queue. It returns false if the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 18:12:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. src/internal/zstd/window_test.go

    	w.save(a)
    	w.save(b)
    	w.save(c)
    
    	var tail []byte
    	tail = append(tail, a...)
    	tail = append(tail, b...)
    	tail = append(tail, c...)
    
    	if len(tail) > size {
    		tail = tail[len(tail)-size:]
    	}
    
    	if w.len() != uint32(len(tail)) {
    		t.Errorf("wrong data length: got: %d, want: %d", w.len(), len(tail))
    	}
    
    	var from, to uint32
    	for from = 0; from <= uint32(len(tail)); from++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:05:09 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/diagnostics/DaemonLogFileUtilsTest.groovy

        def "empty input produces specific output"() {
            expect:
            DaemonLogFileUtils.tail(log(""), 10) == "<<empty>>"
        }
    
        def "returns last line if the limit is one"() {
            given:
            def logFile = log("""\
                line1
                line2
                line3""")
    
            expect:
            DaemonLogFileUtils.tail(logFile, 1) == "line3"
        }
    
        def "input-ending eoln is ignored"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/functional/src/main/java/org/gradle/internal/collect/PersistentList.java

            private final T head;
            private final PersistentList<T> tail;
    
            public Cons(T head, PersistentList<T> tail) {
                this.head = head;
                this.tail = tail;
            }
    
            @Override
            public void forEach(Consumer<? super T> consumer) {
                consumer.accept(head);
                tail.forEach(consumer);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/diagnostics/DaemonDiagnostics.java

            try {
                String tail = DaemonLogFileUtils.tail(getDaemonLog(), TAIL_SIZE);
                return formatTail(tail);
            } catch (IOException e) {
                return "Unable to read from the daemon log file: " + getDaemonLog().getAbsolutePath() + ", because of: " + e.getCause();
            }
        }
    
        private String formatTail(String tail) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/DiffUtils.java

            offsetHead = head;
    
            int tail = 0;
            int maxTail = min(original.size() - head - contextSize, revised.size() - head - contextSize);
            while (tail < maxTail
                    && original
                    .get(original.size() - 1 - tail)
                    .equals(revised.get(revised.size() - 1 - tail))) {
                tail++;
            }
            tail = max(tail - contextSize, 0);
            offsetTail = tail;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/cmd/gofmt/testdata/stdin6.input

    	//gofmt -stdin
    
    	if err != nil {
    		source := strings.NewReader(`line 1.
    line 2.
    `)
    		return source
    	}
    
    	f:=func(  hat, tail string){
    
    
    
    		   fmt.  Println  (   hat+   `
    foo
    
    
    `+ tail  ,
     "more" ,
    		"and more"   )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 30 00:04:48 UTC 2014
    - 217 bytes
    - Viewed (0)
  10. src/cmd/gofmt/testdata/stdin7.input

    															if err != nil {
    								source := strings.NewReader(`line 1.
    line 2.
    `)
    								return source
    							}
    
    							f:=func(  hat, tail string){
    
    
    
    								   fmt.  Println  (   hat+   `
    		foo
    
    
    	`+ tail  ,
    						 "more" ,
    								"and more"   )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 30 00:04:48 UTC 2014
    - 296 bytes
    - Viewed (0)
Back to top