Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 223 for frameset (0.29 sec)

  1. src/internal/pkgbits/sync.go

    //
    // pcs should be a slice of PCs, as returned by runtime.Callers.
    func walkFrames(pcs []uintptr, visit frameVisitor) {
    	if len(pcs) == 0 {
    		return
    	}
    
    	frames := runtime.CallersFrames(pcs)
    	for {
    		frame, more := frames.Next()
    		visit(frame.File, frame.Line, frame.Function, frame.PC-frame.Entry)
    		if !more {
    			return
    		}
    	}
    }
    
    // SyncMarker is an enum type that represents markers that may be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 17:12:28 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. src/internal/profile/prune.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Implements methods to remove frames from profiles.
    
    package profile
    
    import (
    	"fmt"
    	"regexp"
    )
    
    // Prune removes all nodes beneath a node matching dropRx, and not
    // matching keepRx. If the root node of a Sample matches, the sample
    // will have an empty stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 17 19:35:56 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  3. test/fixedbugs/issue20529.go

    // errorcheck
    
    //go:build amd64
    
    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 20529: Large stack frames caused compiler panics.
    // Only tested on amd64 because the test only makes sense
    // on a 64 bit system, and it is platform-agnostic,
    // so testing one suffices.
    
    package p
    
    import "runtime"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 519 bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/pkiutil/testing/testing.go

    	lock.Lock()
    	defer lock.Unlock()
    
    	var pcs [50]uintptr
    	nCallers := runtime.Callers(2, pcs[:])
    	frames := runtime.CallersFrames(pcs[:nCallers])
    	thisTest := ""
    	for {
    		frame, more := frames.Next()
    		if strings.HasSuffix(frame.File, "_test.go") && testFunction.MatchString(frame.Function) {
    			thisTest = frame.Function
    			break
    		}
    		if !more {
    			break
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/internal/trace/trace_test.go

    					{"main.main.func11", 0},
    				}},
    			}...)
    		}
    		stackMatches := func(stk trace.Stack, frames []frame) bool {
    			i := 0
    			match := true
    			stk.Frames(func(f trace.StackFrame) bool {
    				if f.Func != frames[i].fn {
    					match = false
    					return false
    				}
    				if line := uint64(frames[i].line); line != 0 && line != f.Line {
    					match = false
    					return false
    				}
    				i++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      private val pongQueue = ArrayDeque<ByteString>()
    
      /** Outgoing messages and close frames in the order they should be written. */
      private val messageAndCloseQueue = ArrayDeque<Any>()
    
      /** The total size in bytes of enqueued but not yet transmitted messages. */
      private var queueSize = 0L
    
      /** True if we've enqueued a close frame. No further message frames will be enqueued. */
      private var enqueuedClose = false
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/error_util_test.cc

      }
    }
    
    TEST(ErrorUtilTest, StatusScopedDiagnosticHandlerWithFilter) {
      // Filtering logic is based on tensorflow::IsInternalFrameForFilename()
      // Note we are surfacing the locations that are NOT internal frames
      // so locations that fail IsInternalFrameForFilename() evaluation pass the
      // filter.
    
      // These locations will fail the IsInternalFrameForFilename() check so will
      // pass the filter.
      MLIRContext context;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

      }
    
      @Test
      fun clientCloseCancelsConnectionAfterTimeout() {
        client.webSocket!!.close(1000, "Hello!")
        taskFaker.runTasks()
        // Note: we don't process server frames so our client 'close' doesn't receive a server 'close'.
        assertThat(client.canceled).isFalse()
    
        taskFaker.advanceUntil(ns(RealWebSocket.CANCEL_AFTER_CLOSE_MILLIS - 1))
        assertThat(client.canceled).isFalse()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/stream_test.go

    	if err != nil {
    		return err
    	}
    	defer ws.Close()
    
    	if fn != nil {
    		fn(ws)
    	}
    
    	for i := range frames {
    		var data []byte
    		if err := websocket.Message.Receive(ws, &data); err != nil {
    			return err
    		}
    		if !reflect.DeepEqual(frames[i], data) {
    			return fmt.Errorf("frame %d did not match expected: %v", data, err)
    		}
    	}
    	var data []byte
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. internal/event/config.go

    		return err
    	}
    
    	// FilterRuleList must have only one prefix and/or suffix.
    	nameSet := set.NewStringSet()
    	for _, rule := range rules.Rules {
    		if nameSet.Contains(rule.Name) {
    			if rule.Name == "prefix" {
    				return &ErrFilterNamePrefix{}
    			}
    
    			return &ErrFilterNameSuffix{}
    		}
    
    		nameSet.Add(rule.Name)
    	}
    
    	*ruleList = FilterRuleList(rules)
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 8.4K bytes
    - Viewed (0)
Back to top