Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for ts (0.02 sec)

  1. cmd/metrics-v3-system-cpu.go

    		m.Set(sysCPULoadPerc, math.Round(perc*100)/100)
    	}
    
    	ts := cpuMetrics.TimesStat
    	tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    	cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    	m.Set(sysCPUUser, cpuUserVal)
    	cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    	m.Set(sysCPUSystem, cpuSystemVal)
    	cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100
    	m.Set(sysCPUNice, cpuNiceVal)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 23 23:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/testsupport.go

    			continue
    		}
    		if err := ts.processPod(p, importpaths); err != nil {
    			return err
    		}
    	}
    
    	metafilespath := filepath.Join(dir, coverage.MetaFilesFileName)
    	if _, err := os.Stat(metafilespath); err == nil {
    		if err := ts.readAuxMetaFiles(metafilespath, importpaths); err != nil {
    			return err
    		}
    	}
    
    	// Emit percent.
    	if err := ts.cf.EmitPercent(w, cpkg, true, true); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

                    continue;
                }
    
                seen = true;
    
                tg = aTgList;
                Thread[] ts = new Thread[tg.activeCount()];
                tg.enumerate(ts);
    
                for (Thread active : ts) {
                    String name = active.getName();
                    boolean daemon = active.isDaemon();
                    assertTrue(daemon, name + " is no daemon Thread.");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/os/stat_aix.go

    	}
    	if fs.sys.Mode&syscall.S_ISUID != 0 {
    		fs.mode |= ModeSetuid
    	}
    	if fs.sys.Mode&syscall.S_ISVTX != 0 {
    		fs.mode |= ModeSticky
    	}
    }
    
    func stTimespecToTime(ts syscall.StTimespec_t) time.Time {
    	return time.Unix(int64(ts.Sec), int64(ts.Nsec))
    }
    
    // For testing.
    func atime(fi FileInfo) time.Time {
    	return stTimespecToTime(fi.Sys().(*syscall.Stat_t).Atim)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/typesafe/TypeSafeProjectAccessorsIntegrationTest.groovy

                dependencyResolutionManagement {
                    defaultProjectsExtensionName.set("ts")
                }
            """
    
            buildFile << """
                assert project(":one").is(ts.one.dependencyProject)
                assert project(":one:other").is(ts.one.other.dependencyProject)
                assert project(":two:other").is(ts.two.other.dependencyProject)
            """
    
            when:
            run 'help'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:11:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/runtime/tracebuf.go

    			if w.traceBuf == nil {
    				throw("trace: out of memory")
    			}
    		}
    	})
    	// Initialize the buffer.
    	ts := traceClockNow()
    	if ts <= w.traceBuf.lastTime {
    		ts = w.traceBuf.lastTime + 1
    	}
    	w.traceBuf.lastTime = ts
    	w.traceBuf.link = nil
    	w.traceBuf.pos = 0
    
    	// Tolerate a nil mp.
    	mID := ^uint64(0)
    	if w.mp != nil {
    		mID = uint64(w.mp.procid)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. src/internal/trace/internal/oldtrace/parser_test.go

    		}
    	}
    
    	if n := evs.Len(); n != N-consume {
    		t.Fatalf("got %d remaining elements, expected %d", n, N-consume)
    	}
    
    	ev := evs.Ptr(0)
    	if ev.Ts != consume {
    		t.Fatalf("got event %d, expected %d", int(ev.Ts), consume)
    	}
    
    	for {
    		_, ok := evs.Pop()
    		if !ok {
    			break
    		}
    	}
    
    	for i, b := range evs.buckets {
    		if b != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. .github/workflows/feedback.yml

        runs-on: ubuntu-latest
        steps:
          # Feedback loop: ask for something on PR/Issue and close if not provided or return to the queue on update.
          # https://github.com/gradle/issue-management-action/blob/main/src/feedback.ts
          - uses: gradle/issue-management-action@v1
            with:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 516 bytes
    - Viewed (1)
  9. src/runtime/traceevent.go

    	w, _ = w.ensure(1 + (len(args)+1)*traceBytesPerNumber)
    
    	// Compute the timestamp diff that we'll put in the trace.
    	ts := traceClockNow()
    	if ts <= w.traceBuf.lastTime {
    		ts = w.traceBuf.lastTime + 1
    	}
    	tsDiff := uint64(ts - w.traceBuf.lastTime)
    	w.traceBuf.lastTime = ts
    
    	// Write out event.
    	w.byte(byte(ev))
    	w.varint(tsDiff)
    	for _, arg := range args {
    		w.varint(uint64(arg))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. .github/workflows/pull-metadata.yml

          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          # Check that PRs have proper metadata: labels and milestone
          # https://github.com/gradle/issue-management-action/blob/main/src/pull-metadata.ts
          - uses: gradle/issue-management-action@v1
            with:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 477 bytes
    - Viewed (0)
Back to top