Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for exit2 (0.08 sec)

  1. src/cmd/compile/internal/types2/api_test.go

    		i++
    	}
    	return i + int(pos.Col()-1) // columns are 1-based
    }
    
    func TestIssue8518(t *testing.T) {
    	imports := make(testImporter)
    	conf := Config{
    		Error:    func(err error) { t.Log(err) }, // don't exit after first error
    		Importer: imports,
    	}
    	makePkg := func(path, src string) {
    		imports[path], _ = conf.Check(path, []*syntax.File{mustParse(src)}, nil) // errors logged via conf.Error
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/loader.go

    //
    // After each error, the error actions function will be invoked; this
    // will either terminate the link immediately (if -h option given)
    // or it will keep a count and exit if more than 20 errors have been printed.
    //
    // Logging an error means that on exit cmd/link will delete any
    // output file and return a non-zero error code.
    func (reporter *ErrorReporter) Errorf(s Sym, format string, args ...interface{}) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container.go

    		gracePeriod = gracePeriod - m.executePreStopHook(ctx, pod, containerID, containerSpec, gracePeriod)
    	}
    
    	// if we care about termination ordering, then wait for this container's turn to exit if there is
    	// time remaining
    	if ordering != nil && gracePeriod > 0 {
    		// grace period is only in seconds, so the time we've waited gets truncated downward
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  4. src/cmd/dist/test.go

    // bgCommand returns a go test Cmd and a post-Run flush function. The result
    // will write its output to stdout and stderr. If stdout==stderr, bgCommand
    // ensures Writes are serialized. The caller should call flush() after Cmd exits.
    func (opts *goTest) bgCommand(t *tester, stdout, stderr io.Writer) (cmd *exec.Cmd, flush func()) {
    	build, run, pkgs, testFlags, setupCmd := opts.buildArgs(t)
    
    	// Combine the flags.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/manager_test.go

    					// Such as: `throw("Concurrent map iteration and map writing")`.
    					// When this test ends quietly, no data race error occurs.
    					// Otherwise, the test process exits automatically and prints all goroutine call stacks.
    					test.testfunc(mimpl)
    				}
    			}()
    			wg.Wait()
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  6. src/go/types/api_test.go

    	}
    }
    
    func TestIssue8518(t *testing.T) {
    	fset := token.NewFileSet()
    	imports := make(testImporter)
    	conf := Config{
    		Error:    func(err error) { t.Log(err) }, // don't exit after first error
    		Importer: imports,
    	}
    	makePkg := func(path, src string) {
    		imports[path], _ = conf.Check(path, fset, []*ast.File{mustParse(fset, src)}, nil) // errors logged via conf.Error
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

              // So if value changed (and it did since we lost the CAS), then it cannot be null and
              // since it isn't a SetFuture, then the future must be done and we should exit the loop
              break;
            }
          }
        }
        return rValue;
      }
    
      /**
       * Subclasses can override this method to implement interruption of the future's computation. The
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  8. guava/src/com/google/common/util/concurrent/AbstractFuture.java

              // So if value changed (and it did since we lost the CAS), then it cannot be null and
              // since it isn't a SetFuture, then the future must be done and we should exit the loop
              break;
            }
          }
        }
        return rValue;
      }
    
      /**
       * Subclasses can override this method to implement interruption of the future's computation. The
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  9. src/crypto/tls/conn.go

    	// without confusing documented signature.
    	return c.handshakeContext(ctx)
    }
    
    func (c *Conn) handshakeContext(ctx context.Context) (ret error) {
    	// Fast sync/atomic-based exit if there is no handshake in flight and the
    	// last one succeeded without an error. Avoids the expensive context setup
    	// and mutex for most Read and Write calls.
    	if c.isHandshakeComplete.Load() {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. pkg/kubelet/pod_workers_test.go

    		processed[types.UID("6-static")]; !reflect.DeepEqual(expected, actual) {
    		t.Fatalf("unexpected sync pod calls: %s", cmp.Diff(expected, actual))
    	}
    
    	// ensure 5-static exits when we deliver the event out of order
    	channels.Channel("5-static").Release()
    	drainAllWorkers(podWorkers)
    	pod5 = podWorkers.podSyncStatuses[types.UID("5-static")]
    	if !pod5.IsTerminated() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
Back to top