Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 154 for aloop (0.1 sec)

  1. src/database/sql/convert.go

    	if c.cci == nil {
    		return driver.ErrSkip
    	}
    	// The column converter shouldn't be called on any index
    	// it isn't expecting. The final error will be thrown
    	// in the argument converter loop.
    	index := nv.Ordinal - 1
    	if c.want <= index {
    		return nil
    	}
    
    	// First, see if the value itself knows how to convert
    	// itself to a driver type. For example, a NullString
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. src/runtime/trace.go

    				*prev = mp.trace.link
    				mp.trace.link = nil
    				mp = *prev
    			}
    			// Yield only if we're going to be going around the loop again.
    			if mToFlush != nil {
    				osyield()
    			}
    
    			if debugDeadlock {
    				// Try to detect a deadlock. We probably shouldn't loop here
    				// this many times.
    				if i > 100000 && !detectedDeadlock {
    					detectedDeadlock = true
    					println("runtime: failing to flush")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/load/test.go

    		// Do initial scan for metadata needed for writing _testmain.go
    		// Use that metadata to update the list of imports for package main.
    		// The list of imports is used by recompileForTest and by the loop
    		// afterward that gathers t.Cover information.
    		t, err := loadTestFuncs(p)
    		if err != nil && pmain.Error == nil {
    			pmain.setLoadPackageDataError(err, p.ImportPath, &stk, nil)
    		}
    		t.Cover = cover
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  4. pkg/volume/downwardapi/downwardapi.go

    // This function is not idempotent by design. We want the data to be refreshed periodically.
    // The internal sync interval of kubelet will drive the refresh of data.
    // TODO: Add volume specific ticker and refresh loop
    func (b *downwardAPIVolumeMounter) SetUp(mounterArgs volume.MounterArgs) error {
    	return b.SetUpAt(b.GetPath(), mounterArgs)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/decl.go

    				obj.typ = Typ[Invalid]
    			}
    
    		case *TypeName:
    			if !check.validCycle(obj) {
    				// break cycle
    				// (without this, calling underlying()
    				// below may lead to an endless loop
    				// if we have a cycle for a defined
    				// (*Named) type)
    				obj.typ = Typ[Invalid]
    			}
    
    		case *Func:
    			if !check.validCycle(obj) {
    				// Don't set obj.typ to Typ[Invalid] here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    			return err
    		}
    		span.AddEvent("Encode succeeded", attribute.Int("len", len(data)))
    		if !origState.stale && bytes.Equal(data, origState.data) {
    			// if we skipped the original Get in this loop, we must refresh from
    			// etcd in order to be sure the data in the store is equivalent to
    			// our desired serialization
    			if !origStateIsCurrent {
    				origState, err = getCurrentState()
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. pkg/volume/local/local.go

    				klog.Errorf("IsNotMountPoint check failed: %v", mntErr)
    				return err
    			}
    			if !notMnt {
    				// This is very odd, we don't expect it.  We'll try again next sync loop.
    				klog.Errorf("%s is still mounted, despite call to unmount().  Will try again next sync loop.", dir)
    				return err
    			}
    		}
    		if rmErr := os.Remove(dir); rmErr != nil {
    			klog.Warningf("failed to remove %s: %v", dir, rmErr)
    		}
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  8. hack/golangci.yaml

      exclude-use-default: false
      exclude:
        # staticcheck: Developers tend to write in C-style with an explicit 'break' in a 'switch', so it's ok to ignore
        - ineffective break statement. Did you mean to break out of the outer loop
    
      # Excluding configuration per-path, per-linter, per-text and per-source
      exclude-rules:
        # exclude ineffassign linter for generated files for conversion
        - path: conversion\.go
          linters:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. internal/http/listener_test.go

    	nonLoopBackIPs := localIP4.FuncMatch(func(ip string, matchString string) bool {
    		return !strings.HasPrefix(ip, "127.")
    	}, "")
    	if len(nonLoopBackIPs) == 0 {
    		t.Fatalf("No non-loop back IP address found for this host")
    	}
    	nonLoopBackIP := nonLoopBackIPs.ToSlice()[0]
    	return nonLoopBackIP
    }
    
    func TestNewHTTPListener(t *testing.T) {
    	testCases := []struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. src/go/types/decl.go

    				obj.typ = Typ[Invalid]
    			}
    
    		case *TypeName:
    			if !check.validCycle(obj) {
    				// break cycle
    				// (without this, calling underlying()
    				// below may lead to an endless loop
    				// if we have a cycle for a defined
    				// (*Named) type)
    				obj.typ = Typ[Invalid]
    			}
    
    		case *Func:
    			if !check.validCycle(obj) {
    				// Don't set obj.typ to Typ[Invalid] here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top