Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for wasMid (0.12 sec)

  1. src/cmd/vendor/golang.org/x/text/cases/map.go

    			c.isMidWord = false
    		}
    
    		// As we save the state of the transformer, it is safe to call
    		// checkpoint after any successful write.
    		if !(c.isMidWord && wasMid) {
    			c.checkpoint()
    		}
    
    		if !c.next() {
    			break
    		}
    		if wasMid && c.info.isMid() {
    			c.isMidWord = false
    		}
    	}
    	return c.ret()
    }
    
    func (t *titleCaser) Span(src []byte, atEOF bool) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. src/os/wait_waitid.go

    		if e != syscall.EINTR {
    			break
    		}
    	}
    	runtime.KeepAlive(p)
    	if e != 0 {
    		// waitid has been available since Linux 2.6.9, but
    		// reportedly is not available in Ubuntu on Windows.
    		// See issue 16610.
    		if e == syscall.ENOSYS {
    			return false, nil
    		}
    		return false, NewSyscallError("waitid", e)
    	}
    	return true, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:27:57 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/trace/jsontrace.go

    			taskid, err := strconv.ParseUint(taskids, 10, 64)
    			if err != nil {
    				log.Printf("failed to parse taskid parameter %q: %v", taskids, err)
    				return
    			}
    			task, ok := parsed.summary.Tasks[trace.TaskID(taskid)]
    			if !ok {
    				log.Printf("failed to find task with id %d", taskid)
    				return
    			}
    			// This mode is goroutine-oriented.
    			opts.mode = traceviewer.ModeGoroutineOriented
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/internal/trace/summary_test.go

    	type task struct {
    		name       string
    		parent     *trace.TaskID
    		children   []trace.TaskID
    		logs       []trace.Log
    		goroutines []trace.GoID
    	}
    	parent := func(id trace.TaskID) *trace.TaskID {
    		p := new(trace.TaskID)
    		*p = id
    		return p
    	}
    	wantTasks := map[trace.TaskID]task{
    		trace.BackgroundTask: {
    			// The background task (0) is never any task's parent.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/os/pidfd_linux.go

    // syscall with idtype of P_PIDFD.
    //
    // Reasons for non-working pidfd syscalls include an older kernel and an
    // execution environment in which the above system calls are restricted by
    // seccomp or a similar technology.
    func checkPidfd() error {
    	// Get a pidfd of the current process (opening of "/proc/self" won't
    	// work for waitid).
    	fd, err := unix.PidFDOpen(syscall.Getpid(), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/generators/go122-task-across-generations.go

    	b1 := g1.Batch(trace.ThreadID(0), 0)
    	b1.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning)
    	b1.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning)
    	b1.Event("UserTaskBegin", trace.TaskID(2), trace.TaskID(0) /* 0 means no parent, not background */, "my task", testgen.NoStack)
    
    	g2 := t.Generation(2)
    
    	// That same goroutine emits a task end in the following generation.
    	b2 := g2.Batch(trace.ThreadID(0), 5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/os/wait_unimp.go

    // waitid/wait6.
    
    //go:build aix || darwin || (js && wasm) || openbsd || solaris || wasip1
    
    package os
    
    // blockUntilWaitable attempts to block until a call to p.Wait will
    // succeed immediately, and reports whether it has done so.
    // It does not actually call p.Wait.
    // This version is used on systems that do not implement waitid,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 13:16:52 UTC 2023
    - 831 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/audit/union_test.go

    			t.Errorf("backend %d wanted %d events, got %d", i, n, got)
    			continue
    		}
    		for j, event := range backend.events {
    			wantID := types.UID(strconv.Itoa(j))
    			if event.AuditID != wantID {
    				t.Errorf("backend %d event %d wanted id %s, got %s", i, j, wantID, event.AuditID)
    			}
    		}
    	}
    }
    
    type cannotMultipleRunBackend struct {
    	started chan struct{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 20 09:51:25 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  9. src/internal/trace/trace_test.go

    			kind trace.EventKind
    			task trace.TaskID
    			args []string
    		}
    		want := []evDesc{
    			{trace.EventTaskBegin, trace.TaskID(1), []string{"task0"}},
    			{trace.EventRegionBegin, trace.TaskID(1), []string{"region0"}},
    			{trace.EventRegionBegin, trace.TaskID(1), []string{"region1"}},
    			{trace.EventLog, trace.TaskID(1), []string{"key0", "0123456789abcdef"}},
    			{trace.EventRegionEnd, trace.TaskID(1), []string{"region1"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskRealizationBuildOperationIntegrationTest.groovy

            def uniqueId = Iterables.getOnlyElement(realizeOps*.details*.taskId as Set)
    
            when:
            configurationCacheRun(":foo")
            then:
            def realizeOp = buildOperations.only(RealizeTaskBuildOperationType)
            with(realizeOp.details) {
                taskPath == ":foo"
                taskId == uniqueId
                eager == true
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top