Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,827 for augment (0.17 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentedExecutionAccess.java

     */
    
    package org.gradle.internal.classpath;
    
    import org.gradle.api.NonNullApi;
    
    import java.util.concurrent.atomic.AtomicReference;
    
    /**
     * As {@link Instrumented} is using to augment calls at configuration time, this class is using
     * to augment calls at execution time.
     */
    @NonNullApi
    public class InstrumentedExecutionAccess {
    
        private static final Listener NO_OP = new Listener() {
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 17 20:16:53 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/go/types/errors.go

    		go116start: span.start,
    		go116end:   span.end,
    	}
    
    	if check.errpos != nil {
    		// If we have an internal error and the errpos override is set, use it to
    		// augment our error positioning.
    		// TODO(rFindley) we may also want to augment the error message and refer
    		// to the position (pos) in the original expression.
    		span := spanOf(check.errpos)
    		e.Pos = span.pos
    		e.go116start = span.start
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. pkg/kube/krt/static.go

    	return s.id
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (s *staticList[T]) dump() {
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (s *staticList[T]) augment(a any) any {
    	return a
    }
    
    func (s *staticList[T]) List() []T {
    	return maps.Values(s.vals)
    }
    
    func (s *staticList[T]) Register(f func(o Event[T])) Syncer {
    	return registerHandlerAsBatched(s, f)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. pkg/kube/krt/core.go

    	// Note this may not be universally unique
    	name() string
    	// Uid is an internal unique ID for this collection. MUST be globally unique
    	uid() collectionUID
    
    	dump()
    
    	// Augment mutates an object for use in various function calls. See WithObjectAugmentation
    	augment(any) any
    }
    
    // Singleton is a special Collection that only ever has a single object. They can be converted to the Collection where convenient,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. pkg/kube/krt/join.go

    	for _, c := range j.collections {
    		sync.syncers = append(sync.syncers, c.RegisterBatch(f, runExistingState))
    	}
    	return sync
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (j *join[T]) augment(a any) any {
    	// not supported in this collection type
    	return a
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (j *join[T]) name() string { return j.collectionName }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. pkg/kube/krt/fetch.go

    		list = d.filter.listFromIndex().([]T)
    	} else {
    		// Otherwise get everything
    		list = c.List()
    	}
    	list = slices.FilterInPlace(list, func(i T) bool {
    		o := c.augment(i)
    		return d.filter.Matches(o, true)
    	})
    	if log.DebugEnabled() {
    		log.WithLabels(
    			"parent", h.name(),
    			"fetch", c.name(),
    			"filter", d.filter,
    			"size", len(list),
    		).Debugf("Fetch")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/cmd/trace/goroutinegen.go

    	// If we haven't seen this goroutine before, create a new
    	// gState for it.
    	gs, ok := g.gStates[goID]
    	if !ok {
    		gs = newGState[trace.GoID](goID)
    		g.gStates[goID] = gs
    	}
    
    	// Try to augment the name of the goroutine.
    	gs.augmentName(st.Stack)
    
    	// Handle the goroutine state transition.
    	from, to := st.Goroutine()
    	if from == to {
    		// Filter out no-op events.
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                                }
                                if( response.received && response.resultCode == 0 ) {
    
    /* Before we return, in anticipation of this address being cached we must
     * augment the addresses name's hashCode to distinguish those resolved by
     * Lmhosts, WINS, or BCAST. Otherwise a failed query from say WINS would
     * get pulled out of the cache for a BCAST on the same name.
     */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  9. pkg/kube/krt/singleton.go

    func (d *static[T]) dump() {
    	log.Errorf(">>> static[%v]: %+v<<<", ptr.TypeName[T](), d.val.Load())
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (d *static[T]) augment(a any) any {
    	// not supported in this collection type
    	return a
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (d *static[T]) name() string {
    	return "static"
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. pkg/kube/krt/informer.go

    	id             collectionUID
    
    	eventHandlers *handlers[I]
    	augmentation  func(a any) any
    	synced        chan struct{}
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (i *informer[I]) augment(a any) any {
    	if i.augmentation != nil {
    		return i.augmentation(a)
    	}
    	return a
    }
    
    var _ internalCollection[controllers.Object] = &informer[controllers.Object]{}
    
    func (i *informer[I]) _internalHandler() {}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 11:01:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top