Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for stringize (0.34 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy

            collect([1, 2, 3] as Iterable, transformer { it * 2 }) == [2, 4, 6]
        }
    
        def "list stringize"() {
            expect:
            stringize([1, 2, 3]) == ["1", "2", "3"]
            stringize([]) == []
        }
    
        def "stringize"() {
            expect:
            stringize(["c", "b", "a"], new TreeSet<String>()) == ["a", "b", "c"] as Set
        }
    
        def "replacing"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11.7K 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. 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)
  4. 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)
  5. src/internal/trace/event.go

    		}
    	}
    	// N.B. Strings referenced by stack frames are validated
    	// early on, when reading the stacks in to begin with.
    
    	// Check strings.
    	for _, i := range spec.StringIDs {
    		id := stringID(e.base.args[i-1])
    		_, ok := e.table.strings.get(id)
    		if !ok {
    			return fmt.Errorf("found invalid string ID %d for event %s", id, spec.Name)
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  6. src/internal/trace/event/go122/event.go

    		Args:         []string{"dt", "reason_string", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{2},
    		StringIDs:    []int{1},
    	},
    	EvGoBlock: event.Spec{
    		Name:         "GoBlock",
    		Args:         []string{"dt", "reason_string", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{2},
    		StringIDs:    []int{1},
    	},
    	EvGoUnblock: event.Spec{
    		Name:         "GoUnblock",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                if (this == o) {
                    return true;
                }
                if (o == null || getClass() != o.getClass()) {
                    return false;
                }
    
                StringItem that = (StringItem) o;
    
                return value.equals(that.value);
            }
    
            @Override
            public int hashCode() {
                return value.hashCode();
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 26K bytes
    - Viewed (0)
  8. src/internal/trace/oldtrace.go

    	}
    	var addErr error
    	add := func(id stringID, s string) {
    		if err := evt.strings.insert(id, s); err != nil && addErr == nil {
    			addErr = err
    		}
    	}
    	for id, s := range pr.InlineStrings {
    		nid := max + 1 + uint64(id)
    		it.inlineToStringID = append(it.inlineToStringID, nid)
    		add(stringID(nid), s)
    	}
    	max += uint64(len(pr.InlineStrings))
    	pr.InlineStrings = nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. src/internal/trace/generation.go

    			}
    			frames = append(frames, pc)
    
    			if _, ok := pcs[pc]; !ok {
    				pcs[pc] = frame{
    					pc:     pc,
    					funcID: stringID(funcID),
    					fileID: stringID(fileID),
    					line:   line,
    				}
    			}
    		}
    
    		// Add the stack to the map.
    		if err := stackTable.insert(stackID(id), stack{pcs: frames}); err != nil {
    			return err
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. pkg/ctrlz/assets/static/js/prism-1.14.0.min.js

    gth)for(var m,l=0;m=h[l++];)m(g)}}},d=c.Token=function(f,g,h,l,m){this.type=f,this.content=g,this.alias=h,this.length=0|(l||'').length,this.greedy=!!m};if(d.stringify=function(f,g,h){if('string'==typeof f)return f;if('Array'===c.util.type(f))return f.map(function(q){return d.stringify(q,g,f)}).join('');var l={type:f.type,content:d.stringify(f.content,g,h),tag:'span',classes:['token',f.type],attributes:{},language:g,parent:h};if(f.alias){var m='Array'===c.util.type(f.alias)?f.alias:[f.alias];Arra...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top