Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for stringize (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/object-api-options.go

    		}
    	}
    
    	return
    }
    
    func parseIntHeader(bucket, object string, h http.Header, headerName string) (value int, err error) {
    	stringInt := strings.TrimSpace(h.Get(headerName))
    	if stringInt == "" {
    		return
    	}
    	value, err = strconv.Atoi(stringInt)
    	if err != nil {
    		return 0, InvalidArgument{
    			Bucket: bucket,
    			Object: object,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top