Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,884 for preset (0.12 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            when:
            def result = property.getOrElse(someOtherValue())
            def present = property.present
    
            then:
            1 * function.call() >> someValue()
            0 * _
    
            and:
            result == someValue()
            present
        }
    
        def "replaces provider with fixed value on next query of `present` property when value implicitly finalized"() {
            def property = propertyWithNoValue()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  2. src/runtime/tracestatus.go

    	case _Gsyscall:
    		tgs = traceGoSyscall
    	case _Gwaiting, _Gpreempted:
    		// There are a number of cases where a G might end up in
    		// _Gwaiting but it's actually running in a non-preemptive
    		// state but needs to present itself as preempted to the
    		// garbage collector. In these cases, we're not going to
    		// emit an event, and we want these goroutines to appear in
    		// the final trace as if they're running, not blocked.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. src/text/tabwriter/tabwriter.go

    		if n := len(b.lines); n >= 2 {
    			if prev := len(b.lines[n-2]); prev > cap(b.lines[n-1]) {
    				b.lines[n-1] = make([]cell, 0, prev)
    			}
    		}
    	}
    }
    
    // Reset the current state.
    func (b *Writer) reset() {
    	b.buf = b.buf[:0]
    	b.pos = 0
    	b.cell = cell{}
    	b.endChar = 0
    	b.lines = b.lines[0:0]
    	b.widths = b.widths[0:0]
    	b.addLine(true)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 16:46:34 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Optional.java

     * might be absent" as two distinct types in your program, which can aid clarity.
     *
     * <p>Some uses of this class include
     *
     * <ul>
     *   <li>As a method return type, as an alternative to returning {@code null} to indicate that no
     *       value was available
     *   <li>To distinguish between "unknown" (for example, not present in a map) and "known to have no
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. pkg/proxy/util/linebuffer.go

    }
    
    // WriteBytes is part of LineBuffer
    func (buf *realLineBuffer) WriteBytes(bytes []byte) {
    	buf.b.Write(bytes)
    	buf.b.WriteByte('\n')
    	buf.lines++
    }
    
    // Reset is part of LineBuffer
    func (buf *realLineBuffer) Reset() {
    	buf.b.Reset()
    	buf.lines = 0
    }
    
    // Bytes is part of LineBuffer
    func (buf *realLineBuffer) Bytes() []byte {
    	return buf.b.Bytes()
    }
    
    // String is part of LineBuffer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/PropertyResourceBundleFallbackCharset.java

            }
    
            static void reset(Buffer buffer) {
                buffer.reset();
            }
    
            @Override
            protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
                mark(in);
                mark(out);
    
                CoderResult coderResult = decoder.decode(in, out, false);
    
                if (coderResult.isError() && utf8) {
                    reset(in);
                    reset(out);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultDependencyManagementImporter.java

                    for (Dependency dependency : source.getDependencies()) {
                        String key = dependency.getManagementKey();
                        Dependency present = dependencies.putIfAbsent(key, dependency);
                        if (present != null && !equals(dependency, present) && !directDependencies.contains(key)) {
                            // TODO: https://issues.apache.org/jira/browse/MNG-8004
                            problems.add(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 06:13:27 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/StopwatchTest.java

        assertEquals("9.999 \u03bcs", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(1234567);
        assertEquals("1.235 ms", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(5000000000L);
        assertEquals("5.000 s", stopwatch.toString());
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (1.5 * 60 * 1000000000L));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteAMD64latelower.go

    			break
    		}
    		v.reset(OpAMD64SHLXL)
    		v.AddArg2(x, y)
    		return true
    	}
    	return false
    }
    func rewriteValueAMD64latelower_OpAMD64SHLQ(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (SHLQ x y)
    	// cond: buildcfg.GOAMD64 >= 3
    	// result: (SHLXQ x y)
    	for {
    		x := v_0
    		y := v_1
    		if !(buildcfg.GOAMD64 >= 3) {
    			break
    		}
    		v.reset(OpAMD64SHLXQ)
    		v.AddArg2(x, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/authorization/metrics/metrics_test.go

        # TYPE apiserver_authorization_decisions_total counter`
    	metrics := []string{
    		namespace + "_" + subsystem + "_decisions_total",
    	}
    
    	authorizationDecisionsTotal.Reset()
    	RegisterMetrics()
    
    	dummyAuthorizer := &dummyAuthorizer{}
    	a := InstrumentedAuthorizer("mytype", "myname", dummyAuthorizer)
    
    	// allow
    	{
    		dummyAuthorizer.decision = authorizer.DecisionAllow
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 13:20:59 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top