Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 350 for Stabil (0.14 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. src/runtime/sema.go

    			// average anyway.)
    			// The root.dequeue above changed the head and tail acquiretime
    			// to the current time, so the next unlock will not re-count this contention.
    			dt0 := t0 - acquiretime
    			dt := dt0
    			if s.waiters != 0 {
    				dtail := t0 - tailtime
    				dt += (dtail + dt0) / 2 * int64(s.waiters)
    			}
    			mutexevent(dt, 3+skipframes)
    		}
    		if s.ticket != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/tools/go/cfg/builder.go

    		}
    		b.current = body
    		b.targets = &targets{
    			tail:         b.targets,
    			_break:       done,
    			_fallthrough: fallthru,
    		}
    		b.stmtList(cc.Body)
    		b.targets = b.targets.tail
    		b.jump(done)
    		b.current = nextCond
    	}
    	if defaultBlock != nil {
    		b.jump(defaultBlock)
    		b.current = defaultBlock
    		b.targets = &targets{
    			tail:         b.targets,
    			_break:       done,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. 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)
  9. src/runtime/mspanset.go

    func (b *spanSet) reset() {
    	head, tail := b.index.load().split()
    	if head < tail {
    		print("head = ", head, ", tail = ", tail, "\n")
    		throw("attempt to clear non-empty span set")
    	}
    	top := head / spanSetBlockEntries
    	if uintptr(top) < b.spineLen.Load() {
    		// If the head catches up to the tail and the set is empty,
    		// we may not clean up the block containing the head and tail
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. 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)
Back to top