Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 444 for iframe (0.22 sec)

  1. src/cmd/compile/internal/ssagen/pgen.go

    	}
    
    	// Sort variables in descending alignment order, so we can optimally
    	// pack variables into the frame.
    	if a.Type().Alignment() != b.Type().Alignment() {
    		return a.Type().Alignment() > b.Type().Alignment()
    	}
    
    	// Sort normal variables before open-coded-defer slots, so that the
    	// latter are grouped together and near the top of the frame (to
    	// minimize varint encoding of their varp offset).
    	if a.OpenDeferSlot() != b.OpenDeferSlot() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. src/runtime/panic.go

    			}
    
    			// TODO(mdempsky): If we populate u.frame.fn.deferreturn for
    			// every frame containing a defer (not just open-coded defers),
    			// then we can simply loop until we find the next frame where
    			// it's non-zero.
    
    			if u.frame.sp == limit {
    				break // found a frame with linked defers
    			}
    
    			if p.initOpenCodedDefers(u.frame.fn, unsafe.Pointer(u.frame.varp)) {
    				break // found a frame with open-coded defers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. src/runtime/extern.go

    	if n < 1 {
    		return
    	}
    	frame, _ := CallersFrames(rpc).Next()
    	return frame.PC, frame.File, frame.Line, frame.PC != 0
    }
    
    // Callers fills the slice pc with the return program counters of function invocations
    // on the calling goroutine's stack. The argument skip is the number of stack frames
    // to skip before recording in pc, with 0 identifying the frame for Callers itself and
    // 1 identifying the caller of Callers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/framer/framer_test.go

    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    	// read the remaining frame
    	buf = make([]byte, 2)
    	if n, err := r.Read(buf); err != nil && n != 2 && bytes.Equal(buf, []byte{0x03, 0x04}) {
    		t.Fatalf("unexpected: %v %d %v", err, n, buf)
    	}
    	// read with buffer equal to frame
    	buf = make([]byte, 3)
    	if n, err := r.Read(buf); err != nil && n != 3 && bytes.Equal(buf, []byte{0x05, 0x06, 0x07}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go

    	if err != nil {
    		return nil, err
    	}
    	framer := serializer.StreamSerializer.Framer
    	streamSerializer := serializer.StreamSerializer.Serializer
    	encoder := scope.Serializer.EncoderForVersion(streamSerializer, scope.Kind.GroupVersion())
    	useTextFraming := serializer.EncodesAsText
    	if framer == nil {
    		return nil, fmt.Errorf("no framer defined for %q available for embedded encoding", serializer.MediaType)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 16:37:25 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  6. src/image/gif/writer_test.go

    		if m0.Bounds() != m1.Bounds() {
    			t.Errorf("frame %d: bounds differ: %v and %v", i, m0.Bounds(), m1.Bounds())
    		}
    		d0, d1 := g0.Delay[i], g1.Delay[i]
    		if d0 != d1 {
    			t.Errorf("frame %d: delay values differ: %d and %d", i, d0, d1)
    		}
    		p0, p1 := uint8(0), g1.Disposal[i]
    		if go1Dot5Fields {
    			p0 = DisposalNone
    		}
    		if p0 != p1 {
    			t.Errorf("frame %d: disposal values differ: %d and %d", i, p0, p1)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. src/cmd/trace/regions.go

    <th>Region type</th>
    <th>Count</th>
    <th>Duration distribution (complete tasks)</th>
    </tr>
    {{range $}}
      <tr>
        <td><pre>{{printf "%q" .Type}}<br>{{.Frame.Func}} @ {{printf "0x%x" .Frame.PC}}<br>{{.Frame.File}}:{{.Frame.Line}}</pre></td>
        <td><a href="/userregion?type={{.Type}}&pc={{.Frame.PC | printf "%x"}}">{{.Histogram.Count}}</a></td>
        <td>{{.Histogram.ToHTML (.UserRegionURL)}}</td>
      </tr>
    {{end}}
    </table>
    </body>
    </html>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. pkg/api/testing/serialization_test.go

    			continue
    		}
    		s := info.StreamSerializer
    		framer := s.Framer
    		embedded := info.Serializer
    		if embedded == nil {
    			t.Errorf("no embedded serializer for %s", info.MediaType)
    			continue
    		}
    		innerDecode := legacyscheme.Codecs.DecoderToVersion(embedded, api.SchemeGroupVersion)
    
    		// write a single object through the framer and back out
    		obj := &bytes.Buffer{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        close(ErrorCode.PROTOCOL_ERROR, ErrorCode.PROTOCOL_ERROR, e)
      }
    
      /**
       * Sends any initial frames and starts reading frames from the remote peer. This should be called
       * after [Builder.build] for all new connections.
       *
       * @param sendConnectionPreface true to send connection preface frames. This should always be true
       *     except for in tests that don't check for a connection preface.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

          assertThat(expected.message)
            .isEqualTo("Client-sent frames must be masked.")
        }
      }
    
      @Test fun serverSentFramesMustNotBeMasked() {
        data.write("8180".decodeHex())
        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Server-sent frames must not be masked.")
        }
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top