Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,919 for LAST (0.03 sec)

  1. src/cmd/compile/internal/ssa/id.go

    type idAlloc struct {
    	last ID
    }
    
    // get allocates an ID and returns it. IDs are always > 0.
    func (a *idAlloc) get() ID {
    	x := a.last
    	x++
    	if x == 1<<31-1 {
    		panic("too many ids for this function")
    	}
    	a.last = x
    	return x
    }
    
    // num returns the maximum ID ever returned + 1.
    func (a *idAlloc) num() int {
    	return int(a.last + 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 22 19:21:16 UTC 2016
    - 576 bytes
    - Viewed (0)
  2. src/log/slog/example_logvaluer_group_test.go

    package slog_test
    
    import "log/slog"
    
    type Name struct {
    	First, Last string
    }
    
    // LogValue implements slog.LogValuer.
    // It returns a group containing the fields of
    // the Name, so that they appear together in the log output.
    func (n Name) LogValue() slog.Value {
    	return slog.GroupValue(
    		slog.String("first", n.First),
    		slog.String("last", n.Last))
    }
    
    func ExampleLogValuer_group() {
    	n := Name{"Perry", "Platypus"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 20:55:33 UTC 2023
    - 825 bytes
    - Viewed (0)
  3. cmd/consolelogger.go

    	}
    
    	lastN = make([]log.Info, last)
    	sys.RLock()
    	sys.logBuf.Do(func(p interface{}) {
    		if p != nil {
    			lg, ok := p.(log.Info)
    			if ok && lg.SendLog(node, logKind) {
    				lastN[cnt%last] = lg
    				cnt++
    			}
    		}
    	})
    	sys.RUnlock()
    	// send last n console log messages in order filtered by node
    	if cnt > 0 {
    		for i := 0; i < last; i++ {
    			entry := lastN[(cnt+i)%last]
    			if (entry == log.Info{}) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/statefulsetstatus.go

    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the ObservedGeneration field is set to the value of the last call.
    func (b *StatefulSetStatusApplyConfiguration) WithObservedGeneration(value int64) *StatefulSetStatusApplyConfiguration {
    	b.ObservedGeneration = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 25 23:59:58 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/statefulsetstatus.go

    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the ObservedGeneration field is set to the value of the last call.
    func (b *StatefulSetStatusApplyConfiguration) WithObservedGeneration(value int64) *StatefulSetStatusApplyConfiguration {
    	b.ObservedGeneration = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 25 23:59:58 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/customresourcedefinition.go

    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Kind field is set to the value of the last call.
    func (b *CustomResourceDefinitionApplyConfiguration) WithKind(value string) *CustomResourceDefinitionApplyConfiguration {
    	b.Kind = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RegularContiguousSet.java

      }
    
      @Override
      public UnmodifiableIterator<C> iterator() {
        return new AbstractSequentialIterator<C>(first()) {
          final C last = last();
    
          @Override
          @CheckForNull
          protected C computeNext(C previous) {
            return equalsOrThrow(previous, last) ? null : domain.next(previous);
          }
        };
      }
    
      @GwtIncompatible // NavigableSet
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/lastappliedmanager.go

    		return nil, fmt.Errorf("failed to convert last applied to typed: %v", err)
    	}
    
    	lastAppliedObjFieldSet, err := lastAppliedObjTyped.ToFieldSet()
    	if err != nil {
    		return nil, fmt.Errorf("failed to create fieldset for last applied object: %v", err)
    	}
    
    	comparison, err := lastAppliedObjTyped.Compare(liveObjTyped)
    	if err != nil {
    		return nil, fmt.Errorf("failed to compare last applied object and live object: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. src/compress/lzw/reader.go

    			if code == r.hi && r.last != decoderInvalidCode {
    				// code == hi is a special case which expands to the last expansion
    				// followed by the head of the last expansion. To find the head, we walk
    				// the prefix chain until we find a literal code.
    				c = r.last
    				for c >= r.clear {
    					c = r.prefix[c]
    				}
    				r.output[i] = uint8(c)
    				i--
    				c = r.last
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:39 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/core/v1/objectreference.go

    func (b *ObjectReferenceApplyConfiguration) WithAPIVersion(value string) *ObjectReferenceApplyConfiguration {
    	b.APIVersion = &value
    	return b
    }
    
    // WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the ResourceVersion field is set to the value of the last call.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 4.3K bytes
    - Viewed (0)
Back to top