Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for stringify (0.42 sec)

  1. build/pause/windows/pause.c

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    #include <windows.h>
    #include <stdio.h>
    #include <string.h>
    
    #define STRINGIFY(x) #x
    #define VERSION_STRING(x) STRINGIFY(x)
    
    #ifndef VERSION
    #define VERSION HEAD
    #endif
    
    BOOL WINAPI CtrlHandler(DWORD fdwCtrlType)
    {
    	switch (fdwCtrlType)
    	{
    	case CTRL_C_EVENT:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 13:09:17 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go

    		return nil, err
    	}
    	newData, err := json.Marshal(objCopy)
    	if err != nil {
    		return nil, err
    	}
    
    	return jsonpatch.CreateMergePatch(oldData, newData)
    }
    
    // parseCommandArguments will stringify and return all environment arguments ie. a command run by a client
    // using the factory.
    // Set showSecrets false to filter out stuff like secrets.
    func parseCommandArguments(cmd *cobra.Command) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    t")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=G0;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new W0(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}walkSync(e){e[qe]=!0;let...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
  4. 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)
  5. 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)
  6. 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)
  7. src/internal/trace/event/event.go

    	// is present, it is separated from the type with an underscore.
    	// The valid argument types and the Go types they map to are listed
    	// in the ArgTypes variable.
    	Args []string
    
    	// StringIDs indicates which of the arguments are string IDs.
    	StringIDs []int
    
    	// StackIDs indicates which of the arguments are stack IDs.
    	//
    	// The list is not sorted. The first index always refers to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/internal/trace/base.go

    type frequency float64
    
    // mul multiplies an unprocessed to produce a time in nanoseconds.
    func (f frequency) mul(t timestamp) Time {
    	return Time(float64(t) * float64(f))
    }
    
    // stringID is an index into the string table for a generation.
    type stringID uint64
    
    // extraStringID is an index into the extra string table for a generation.
    type extraStringID uint64
    
    // stackID is an index into the stack table for a generation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K 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. 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