Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 162 for Element (0.22 sec)

  1. src/time/format.go

    // looks like so that the Format and Parse methods can apply the same
    // transformation to a general time value.
    //
    // Here is a summary of the components of a layout string. Each element shows by
    // example the formatting of an element of the reference time. Only these values
    // are recognized. Text in the layout string that is not recognized as part of
    // the reference time is echoed verbatim during Format and expected to appear
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  2. src/go/printer/testdata/parser.go

    	// analyze case
    	var idents []*ast.Ident
    	if typ != nil {
    		// IdentifierList Type
    		idents = p.makeIdentList(list)
    	} else {
    		// ["*"] TypeName (AnonymousField)
    		typ = list[0] // we always have at least one element
    		p.resolve(typ)
    		if n := len(list); n > 1 || !isTypeName(deref(typ)) {
    			pos := typ.Pos()
    			p.errorExpected(pos, "anonymous field")
    			typ = &ast.BadExpr{pos, list[n-1].End()}
    		}
    	}
    
    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/cmd/go/internal/modload/buildlist.go

    	// argument that has the same module path as, and a lower version than,
    	// the last element of the Path slice.
    	Constraint module.Version
    
    	// If Constraint is unset, Err is an error encountered when loading the
    	// requirements of the last element in Path.
    	Err error
    }
    
    // UnwrapModuleError returns c.Err, but unwraps it if it is a module.ModuleError
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				"self.listMap.filter(m, has(m.v2) && m.v2 == 'z').map(m, m.v2).size() == 1": 39,
    				// - without has checks:
    
    				// all() and exists() macros ignore errors from predicates so long as the condition holds for at least one element
    				"self.listMap.exists(m, m.v2 == 'z')": 24,
    				"!self.listMap.all(m, m.v2 != 'z')":   22,
    			},
    		},
    		{name: "list access",
    			obj: map[string]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  5. src/html/template/exec_test.go

    	W0     W
    	W1, W2 *W
    	// Slices
    	SI      []int
    	SICap   []int
    	SIEmpty []int
    	SB      []bool
    	// Arrays
    	AI [3]int
    	// Maps
    	MSI      map[string]int
    	MSIone   map[string]int // one element, for deterministic output
    	MSIEmpty map[string]int
    	MXI      map[any]int
    	MII      map[int]int
    	MI32S    map[int32]string
    	MI64S    map[int64]string
    	MUI32S   map[uint32]string
    	MUI64S   map[uint64]string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  6. src/regexp/syntax/parse.go

    // and returns that regexp.
    func (p *parser) op(op Op) *Regexp {
    	re := p.newRegexp(op)
    	re.Flags = p.flags
    	return p.push(re)
    }
    
    // repeat replaces the top stack element with itself repeated according to op, min, max.
    // before is the regexp suffix starting at the repetition operator.
    // after is the regexp suffix following after the repetition operator.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/queue/scheduling_queue.go

    	// The value of that entry is the *v1.Pod at the time that scheduling of that
    	// pod started, which can be useful for logging or debugging.
    	inFlightPods map[types.UID]*list.Element
    
    	// inFlightEvents holds the events received by the scheduling queue
    	// (entry value is clusterEvent) together with in-flight pods (entry
    	// value is *v1.Pod). Entries get added at the end while the mutex is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        /**
         * Returns a filtered list of classpath elements. This method is invoked when the caller
         * requested that all dependencies are placed on the classpath, with no module-path element.
         *
         * @param scopeFilter a filter returning {@code true} for the artifact scopes to accept.
         * @param includeTestDir whether to include the test directory in the classpath elements.
         * @return paths of all artifacts placed on the classpath.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  9. src/runtime/map.go

    	if !ok {
    		// reflect wants nil for a missing element
    		elem = nil
    	}
    	return elem
    }
    
    //go:linkname reflect_mapaccess_faststr reflect.mapaccess_faststr
    func reflect_mapaccess_faststr(t *maptype, h *hmap, key string) unsafe.Pointer {
    	elem, ok := mapaccess2_faststr(t, h, key)
    	if !ok {
    		// reflect wants nil for a missing element
    		elem = nil
    	}
    	return elem
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  10. src/net/http/transport.go

    	}
    	return cfg.Clone()
    }
    
    type connLRU struct {
    	ll *list.List // list.Element.Value type is of *persistConn
    	m  map[*persistConn]*list.Element
    }
    
    // add adds pc to the head of the linked list.
    func (cl *connLRU) add(pc *persistConn) {
    	if cl.ll == nil {
    		cl.ll = list.New()
    		cl.m = make(map[*persistConn]*list.Element)
    	}
    	ele := cl.ll.PushFront(pc)
    	if _, ok := cl.m[pc]; ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top