Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 469 for sloc (0.16 sec)

  1. src/internal/trace/traceviewer/pprof.go

    					funcs[frame.File+frame.Fn] = fn
    				}
    				loc = &profile.Location{
    					ID:      uint64(len(p.Location) + 1),
    					Address: frame.PC,
    					Line: []profile.Line{
    						{
    							Function: fn,
    							Line:     int64(frame.Line),
    						},
    					},
    				}
    				p.Location = append(p.Location, loc)
    				locs[frame.PC] = loc
    			}
    			sloc = append(sloc, loc)
    		}
    		p.Sample = append(p.Sample, &profile.Sample{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:28:02 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    			}
    
    			var sloc []*Location
    			for _, addr := range addrs {
    				loc := locs[addr]
    				if locs[addr] == nil {
    					loc = &Location{
    						Address: addr,
    					}
    					p.Location = append(p.Location, loc)
    					locs[addr] = loc
    				}
    				sloc = append(sloc, loc)
    			}
    			s := &Sample{
    				Value:    make([]int64, 2),
    				Location: sloc,
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/slog/slog.go

    		}
    	})
    	return nil, nil
    }
    
    func isAttr(t types.Type) bool {
    	return analysisutil.IsNamedType(t, "log/slog", "Attr")
    }
    
    // shortName returns a name for the function that is shorter than FullName.
    // Examples:
    //
    //	"slog.Info" (instead of "log/slog.Info")
    //	"slog.Logger.With" (instead of "(*log/slog.Logger).With")
    func shortName(fn *types.Func) string {
    	var r string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/cmd/vet/testdata/slog/slog.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file contains tests for the slog checker.
    
    package slog
    
    import "log/slog"
    
    func SlogTest() {
    	slog.Info("msg", "a") // ERROR "call to slog.Info missing a final value"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 338 bytes
    - Viewed (0)
  5. .junit.run/Not Slow.run.xml

    <component name="ProjectRunConfigurationManager">
      <configuration default="false" name="Not Slow" type="JUnit" factoryName="JUnit" singleton="false">
        <useClassPathOnly />
        <option name="MAIN_CLASS_NAME" value="" />
        <option name="METHOD_NAME" value="" />
        <option name="TEST_OBJECT" value="tags" />
        <option name="VM_PARAMETERS" value="-ea -Djunit.jupiter.extensions.autodetection.enabled=true" />
        <option name="PARAMETERS" value="" />
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Nov 21 13:28:45 UTC 2020
    - 730 bytes
    - Viewed (0)
  6. src/go/printer/testdata/slow.input

    Russ Cox <******@****.***> 1410149331 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.9K bytes
    - Viewed (0)
  7. src/go/printer/testdata/slow.golden

    Russ Cox <******@****.***> 1410149331 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/python/flatbuffer_to_mlir.cc

      std::string error;
      auto loc =
          mlir::FileLineColLoc::get(context, input->getBufferIdentifier(), 0, 0);
      std::vector<std::string> inputs;
      std::vector<std::string> outputs;
      return tflite::FlatBufferToMlir(
          absl::string_view(input->getBufferStart(), input->getBufferSize()),
          context, loc, false, inputs, outputs, false);
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/log/slog/internal/benchmarks/handlers.go

    	case slog.KindUint64:
    		*buf = strconv.AppendUint(*buf, v.Uint64(), 10)
    	case slog.KindFloat64:
    		*buf = strconv.AppendFloat(*buf, v.Float64(), 'g', -1, 64)
    	case slog.KindBool:
    		*buf = strconv.AppendBool(*buf, v.Bool())
    	case slog.KindDuration:
    		*buf = strconv.AppendInt(*buf, v.Duration().Nanoseconds(), 10)
    	case slog.KindTime:
    		h.appendTime(buf, v.Time())
    	case slog.KindAny:
    		a := v.Any()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 12 20:33:37 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. src/log/slog/example_test.go

    package slog_test
    
    import (
    	"log/slog"
    	"net/http"
    	"os"
    	"time"
    )
    
    func ExampleGroup() {
    	r, _ := http.NewRequest("GET", "localhost", nil)
    	// ...
    
    	logger := slog.New(
    		slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{
    			ReplaceAttr: func(groups []string, a slog.Attr) slog.Attr {
    				if a.Key == slog.TimeKey && len(groups) == 0 {
    					return slog.Attr{}
    				}
    				return a
    			},
    		}),
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 14:56:30 UTC 2023
    - 857 bytes
    - Viewed (0)
Back to top