Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 63 for stringify (0.22 sec)

  1. src/cmd/internal/goobj/objfile.go

    		return
    	}
    	w.stringMap[s] = w.off
    	w.RawString(s)
    }
    
    func (w *Writer) stringOff(s string) uint32 {
    	off, ok := w.stringMap[s]
    	if !ok {
    		panic(fmt.Sprintf("writeStringRef: string not added: %q", s))
    	}
    	return off
    }
    
    func (w *Writer) StringRef(s string) {
    	w.Uint32(uint32(len(s)))
    	w.Uint32(w.stringOff(s))
    }
    
    func (w *Writer) RawString(s string) {
    	w.wr.WriteString(s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

        }
    
        public static <C extends Collection<String>> C stringize(Iterable<?> source, C destination) {
            return collect(source, destination, InternalTransformers.asString());
        }
    
        public static List<String> stringize(Collection<?> source) {
            return stringize(source, new ArrayList<String>(source.size()));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. src/testing/benchmark_test.go

    		b.ReportMetric(12345, "ns/op")
    		b.ReportMetric(0.2, "frobs/op")
    	})
    	// Test built-in overriding.
    	if res.NsPerOp() != 12345 {
    		t.Errorf("NsPerOp: expected %v, actual %v", 12345, res.NsPerOp())
    	}
    	// Test stringing.
    	res.N = 1 // Make the output stable
    	want := "       1\t     12345 ns/op\t         0.2000 frobs/op"
    	if want != res.String() {
    		t.Errorf("expected %q, actual %q", want, res.String())
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/internal/trace/order.go

    	// Handle special goroutine-bound event ranges.
    	if err := validateCtx(curCtx, event.UserGoReqs); err != nil {
    		return curCtx, false, err
    	}
    	desc := stringID(0)
    	if ev.typ == go122.EvSTWBegin {
    		desc = stringID(ev.args[0])
    	}
    	gState, ok := o.gStates[curCtx.G]
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

            MISSING_KEY             | null             | false
            'keyWithNonStringValue' | NON_STRING_VALUE | false
        }
    
        def "stringPropertyNames() containsAll() is tracked for non-stringsy"() {
            when:
            def result = getMapUnderTestToRead().stringPropertyNames().containsAll(Arrays.asList(EXISTING_KEY, 'keyWithNonStringValue', 'existing'))
            then:
            !result
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/util/CollectionUtils.java

            }
    
            return foundAtLeastOneNull ? compacted : list;
        }
    
        public static <C extends Collection<String>> C stringize(Iterable<?> source, C destination) {
            logDeprecation(7);
            return stringizeInternal(source, destination);
        }
    
        public static List<String> stringize(Collection<?> source) {
            logDeprecation(8);
            return stringizeInternal(source, new ArrayList<String>(source.size()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:17:19 UTC 2024
    - 26K bytes
    - Viewed (0)
  7. src/internal/reflectlite/all_test.go

    	{new(uint16), "16"},
    	{new(uint32), "32"},
    	{new(uint64), "64"},
    	{new(float32), "256.25"},
    	{new(float64), "512.125"},
    	{new(complex64), "532.125+10i"},
    	{new(complex128), "564.25+1i"},
    	{new(string), "stringy cheese"},
    	{new(bool), "true"},
    	{new(*int8), "*int8(0)"},
    	{new(**int8), "**int8(0)"},
    	{new([5]int32), "[5]int32{0, 0, 0, 0, 0}"},
    	{new(**integer), "**reflectlite_test.integer(0)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:26:08 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  8. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/CompileOptions.java

         *
         * @since 4.5
         */
        @Internal
        public List<String> getAllCompilerArgs() {
            ImmutableList.Builder<String> builder = ImmutableList.builder();
            builder.addAll(CollectionUtils.stringize(getCompilerArgs()));
            for (CommandLineArgumentProvider compilerArgumentProvider : getCompilerArgumentProviders()) {
                builder.addAll(compilerArgumentProvider.asArguments());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

            }
    
            where:
            description | lookup
            "stringy"   | 'p.property("foo")'
            "direct"    | 'p.foo'
        }
    
        @Issue("https://github.com/gradle/gradle/issues/22949")
        def "invocations of GroovyObject methods on DefaultProject track the dynamic call context"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    						"field": map[string]interface{}{
    							"object1": map[string]interface{}{
    								"stringField": "k8s a stringy",
    								"intField":    1000,
    							},
    							"object4": map[string]interface{}{
    								"stringField": "k8s third stringy",
    								"intField":    7000,
    							},
    						},
    					}},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
Back to top