Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for firstterm (0.17 sec)

  1. tests/integration/security/authz_test.go

    func (tsts authzTests) RunAll(t framework.TestContext) {
    	t.Helper()
    
    	firstTest := tsts[0]
    	if len(tsts) == 1 {
    		// Testing a single port. Just run a single test.
    		testName := fmt.Sprintf("%s%s(%s)/%s", firstTest.prefix, firstTest.opts.HTTP.Path, firstTest.allow, firstTest.opts.Port.Name)
    		t.NewSubTest(testName).Run(func(t framework.TestContext) {
    			firstTest.BuildAndRun(t)
    		})
    		return
    	}
    
    	tsts.checkValid()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  2. src/time/zoneinfo_read.go

    func loadLocation(name string, sources []string) (z *Location, firstErr error) {
    	for _, source := range sources {
    		zoneData, err := loadTzinfo(name, source)
    		if err == nil {
    			if z, err = LoadLocationFromTZData(name, zoneData); err == nil {
    				return z, nil
    			}
    		}
    		if firstErr == nil && err != syscall.ENOENT {
    			firstErr = err
    		}
    	}
    	if loadFromEmbeddedTZData != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. src/go/types/check.go

    	unionTypeSets map[*Union]*_TypeSet      // computed type sets for union types
    	mono          monoGraph                 // graph for detecting non-monomorphizable instantiation loops
    
    	firstErr error                 // first error encountered
    	methods  map[*TypeName][]*Func // maps package scope type names to associated non-blank (non-interface) methods
    	untyped  map[ast.Expr]exprInfo // map of expressions without final type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check.go

    	unionTypeSets map[*Union]*_TypeSet        // computed type sets for union types
    	mono          monoGraph                   // graph for detecting non-monomorphizable instantiation loops
    
    	firstErr error                    // first error encountered
    	methods  map[*TypeName][]*Func    // maps package scope type names to associated non-blank (non-interface) methods
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/fsys/fsys.go

    		fi, err := os.Stat(actualFilePath)
    		if err == nil && fi.Mode().IsRegular() {
    			return true, nil
    		}
    		if err != nil && firstErr == nil {
    			firstErr = err
    		}
    	}
    
    	// No go files found in directory.
    	return false, firstErr
    }
    
    // walk recursively descends path, calling walkFn. Copied, with some
    // modifications from path/filepath.walk.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  6. pkg/kubelet/userns/userns_manager.go

    	firstZero, found, err := m.used.AllocateNext()
    	if err != nil {
    		return 0, 0, err
    	}
    	if !found {
    		return 0, 0, fmt.Errorf("could not find an empty slot to allocate a user namespace")
    	}
    
    	klog.V(5).InfoS("new pod user namespace allocation", "podUID", pod)
    
    	firstID = uint32((firstZero + m.off) * userNsLength)
    	m.usedBy[pod] = firstID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. pkg/controller/podautoscaler/horizontal.go

    		// then go on and try other mappings until we find a good one
    		if i == 0 {
    			firstErr = err
    		}
    	}
    
    	// make sure we handle an empty set of mappings
    	if firstErr == nil {
    		firstErr = fmt.Errorf("unrecognized resource")
    	}
    
    	return nil, schema.GroupResource{}, firstErr
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  8. src/net/http/request_test.go

    		var log bytes.Buffer
    		buf := make([]byte, 1000)
    		var firstErr error
    		for {
    			n, err := r.Read(buf)
    			fmt.Fprintf(&log, "Read(%d) = %d, %v\n", len(buf), n, err)
    			if err == nil {
    				continue
    			}
    			if firstErr == nil {
    				firstErr = err
    				continue
    			}
    			if !reflect.DeepEqual(err, firstErr) {
    				return fmt.Errorf("non-sticky error. got log:\n%s", log.Bytes())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    			}
    		}
    	}()
    
    	wg.Wait()
    	ch := make(chan struct{})
    	select {
    	case updateCloser <- ch:
    		<-ch
    	case <-ctx.Done():
    		mu.Lock()
    		if firstErr == nil {
    			firstErr = ctx.Err()
    		}
    		defer mu.Unlock()
    	}
    	return firstErr
    }
    
    // MakeBucket - creates a new bucket across all serverPools simultaneously
    // even if one of the sets fail to create buckets, we proceed all the successful
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  10. src/os/exec/exec.go

    		type goroutineStatus struct {
    			running  int
    			firstErr error
    		}
    		statusc := make(chan goroutineStatus, 1)
    		statusc <- goroutineStatus{running: len(c.goroutine)}
    		for _, fn := range c.goroutine {
    			go func(fn func() error) {
    				err := fn()
    
    				status := <-statusc
    				if status.firstErr == nil {
    					status.firstErr = err
    				}
    				status.running--
    				if status.running == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top