Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for begins (0.21 sec)

  1. src/time/time.go

    	month = Month(day / 31)
    	end := int(daysBefore[month+1])
    	var begin int
    	if day >= end {
    		month++
    		begin = end
    	} else {
    		begin = int(daysBefore[month])
    	}
    
    	month++ // because January is 1
    	day = day - begin + 1
    	return
    }
    
    // daysBefore[m] counts the number of days in a non-leap year
    // before month m begins. There is an entry for m=12, counting
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  2. src/go/printer/testdata/parser.go

    		p.expect(token.ASSIGN)
    		values = p.parseRhsList()
    	}
    	p.expectSemi() // call before accessing p.linecomment
    
    	// Go spec: The scope of a constant or variable identifier declared inside
    	// a function begins at the end of the ConstSpec or VarSpec and ends at
    	// the end of the innermost containing block.
    	// (Global identifiers are resolved in a separate phase after parsing.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  3. src/regexp/syntax/parse.go

    					// Keep going around.
    					str = str[:same]
    					continue
    				}
    			}
    		}
    
    		// Found end of a run with common leading literal string:
    		// sub[start:i] all begin with str[0:len(str)], but sub[i]
    		// does not even begin with str[0].
    		//
    		// Factor out common string and append factored expression to out.
    		if i == start {
    			// Nothing to do - run of length 0.
    		} else if i == start+1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/debug.go

    	for i := 0; i < len(list); {
    		begin := getPC(decodeValue(ctxt, readPtr(ctxt, list[i:])))
    		end := getPC(decodeValue(ctxt, readPtr(ctxt, list[i+ctxt.Arch.PtrSize:])))
    
    		// Horrible hack. If a range contains only zero-width
    		// instructions, e.g. an Arg, and it's at the beginning of the
    		// function, this would be indistinguishable from an
    		// end entry. Fudge it.
    		if begin == 0 && end == 0 {
    			end = 1
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  5. src/cmd/internal/testdir/testdir_test.go

    func (t test) asmCheck(outStr string, fn string, env buildEnv, fullops map[string][]wantedAsmOpcode) error {
    	// The assembly output contains the concatenated dump of multiple functions.
    	// the first line of each function begins at column 0, while the rest is
    	// indented by a tabulation. These data structures help us index the
    	// output by function.
    	functionMarkers := make([]int, 1)
    	lineFuncMap := make(map[string]int)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  6. pkg/volume/testing/testing.go

    	return f.Plugin.GetVolumeName(spec)
    }
    
    // CanSupport tests whether the plugin supports a given volume specification by
    // testing volume spec name begins with plugin name or not.
    // This is useful to choose plugin by volume in testing.
    func (f *FakeBasicVolumePlugin) CanSupport(spec *volume.Spec) bool {
    	return strings.HasPrefix(spec.Name(), f.GetPluginName())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. common/scripts/metallb-native.yaml

                  passiveMode:
                    description: 'Mark session as passive: a passive session will not
                      attempt to start the connection and will wait for control packets
                      from peer before it begins replying.'
                    type: boolean
                  receiveInterval:
                    description: The minimum interval that this system is capable of receiving
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:31 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  8. pkg/controller/daemon/daemon_controller.go

    	// DaemonSet pods before deleting DaemonSet history objects, because
    	// DaemonSet history doesn't own DaemonSet pods. We cannot reliably
    	// calculate the status of a DaemonSet being deleted. Therefore, return
    	// here without updating status for the DaemonSet being deleted.
    	if ds.DeletionTimestamp != nil {
    		return nil
    	}
    
    	// Construct histories of the DaemonSet, and get the hash of current history
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  9. pkg/controller/podautoscaler/horizontal.go

    		tolerance,
    		cpuInitializationPeriod,
    		delayOfInitialReadinessStatus,
    	)
    	hpaController.replicaCalc = replicaCalc
    
    	monitor.Register()
    
    	return hpaController
    }
    
    // Run begins watching and syncing.
    func (a *HorizontalController) Run(ctx context.Context, workers int) {
    	defer utilruntime.HandleCrash()
    	defer a.queue.ShutDown()
    
    	logger := klog.FromContext(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  10. src/internal/trace/order.go

    func (s *gState) endRegion(r userRegion) error {
    	if len(s.regions) == 0 {
    		// We do not know about regions that began before tracing started.
    		return nil
    	}
    	if next := s.regions[len(s.regions)-1]; next != r {
    		return fmt.Errorf("misuse of region in goroutine %v: region end %v when the inner-most active region start event is %v", s.id, r, next)
    	}
    	s.regions = s.regions[:len(s.regions)-1]
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
Back to top