Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,957 for Filler (0.26 sec)

  1. test/fixedbugs/issue32477.go

    import "runtime"
    
    var finalized bool
    var err string
    
    type HeapObj [8]int64
    
    const filler int64 = 0x123456789abcdef0
    
    func (h *HeapObj) init() {
    	for i := 0; i < len(*h); i++ {
    		h[i] = filler
    	}
    }
    func (h *HeapObj) check() {
    	for i := 0; i < len(*h); i++ {
    		if h[i] != filler {
    			err = "filler overwritten"
    		}
    	}
    }
    
    func gc(shouldFinalize bool) {
    	runtime.GC()
    	runtime.GC()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:51:04 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  2. test/fixedbugs/issue27518b.go

    package main
    
    import "runtime"
    
    var finalized bool
    var err string
    
    type HeapObj [8]int64
    
    const filler int64 = 0x123456789abcdef0
    
    func (h *HeapObj) init() {
    	for i := 0; i < len(*h); i++ {
    		h[i] = filler
    	}
    }
    func (h *HeapObj) check() {
    	for i := 0; i < len(*h); i++ {
    		if h[i] != filler {
    			err = "filler overwritten"
    		}
    	}
    }
    
    type StackObj struct {
    	h *HeapObj
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 03 19:54:23 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

                )
                withProblemsWithStackTraceCount(0)
            }
    
            and:
            outputContains("this.reference = JavaRecord[value=null, filler=101]")
            outputContains("bean.reference = JavaRecord[value=null, filler=202]")
    
            when:
            configurationCacheRunLenient "broken"
    
            then:
            problems.assertResultHasProblems(result) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          } catch (InterruptedException e) {
            /* ignore */
          }
          try {
            // Fill up heap so soft references get cleared.
            filler = new byte[Math.max(filler.length, filler.length * 2)];
          } catch (OutOfMemoryError e) {
          }
        }
    
        CacheTesting.processPendingNotifications(cache);
        assertEquals(1, cache.size());
        assertEquals(1, removalListener.getCount());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 6.1K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue44688.go

    func (*A1[T]) m1(T) {}
    
    type A2[T any] interface {
    	m2(T)
    }
    
    type B1[T any] struct {
    	filler int
    	*A1[T]
    	A2[T]
    }
    
    type B2[T any] interface {
    	A2[T]
    }
    
    type C[T any] struct {
    	filler1 int
    	filler2 int
    	B1[T]
    }
    
    type D[T any] struct {
    	filler1 int
    	filler2 int
    	filler3 int
    	C[T]
    }
    
    func _() {
    	// calling embedded methods
    	var b1 B1[string]
    
    	b1.A1.m1("")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1K bytes
    - Viewed (0)
  6. test/typeparam/issue44688.go

    	m2(T)
    }
    
    type B1[T any] struct {
    	filler int
    	*A1[T]
    	A2[T]
    }
    
    type B2[T any] interface {
    	A2[T]
    }
    
    type ImpA2[T any] struct {
    	f T
    }
    
    func (a2 *ImpA2[T]) m2(s T) {
    	a2.f = s
    }
    
    type C[T any] struct {
    	filler1 int
    	filler2 int
    	B1[T]
    }
    
    type D[T any] struct {
    	filler1 int
    	filler2 int
    	filler3 int
    	C[T]
    }
    
    func test1[T any](arg T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. src/runtime/symtab_test.go

    	if !strings.HasSuffix(f.Name(), "tracebackFunc") {
    		t.Fatalf("Caller(0) = %+v, want tracebackFunc", f)
    	}
    
    	// Iterate forward until we find a different function. Back up one
    	// instruction is (hopefully) an alignment instruction.
    	for runtime.FuncForPC(pc) == f {
    		pc++
    	}
    	pc--
    
    	// Is this an alignment region filler instruction? We only check this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 21:46:33 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    				// concurrently, check for it before we
    				// write the filler byte.
    				select {
    				case err := <-doneCh:
    					if err != nil {
    						write([]byte{1})
    						write([]byte(err.Error()))
    					} else {
    						write([]byte{0})
    					}
    					return
    				default:
    				}
    
    				// Response not ready, write a filler byte.
    				write([]byte{32})
    				if canWrite {
    					w.(http.Flusher).Flush()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  9. src/syscall/ztypes_darwin_amd64.go

    type RtMetrics struct {
    	Locks    uint32
    	Mtu      uint32
    	Hopcount uint32
    	Expire   int32
    	Recvpipe uint32
    	Sendpipe uint32
    	Ssthresh uint32
    	Rtt      uint32
    	Rttvar   uint32
    	Pksent   uint32
    	Filler   [4]uint32
    }
    
    const (
    	SizeofBpfVersion = 0x4
    	SizeofBpfStat    = 0x8
    	SizeofBpfProgram = 0x10
    	SizeofBpfInsn    = 0x8
    	SizeofBpfHdr     = 0x14
    )
    
    type BpfVersion struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  10. src/syscall/ztypes_freebsd_arm.go

    	Locks    uint32
    	Mtu      uint32
    	Hopcount uint32
    	Expire   uint32
    	Recvpipe uint32
    	Sendpipe uint32
    	Ssthresh uint32
    	Rtt      uint32
    	Rttvar   uint32
    	Pksent   uint32
    	Weight   uint32
    	Filler   [3]uint32
    }
    
    const (
    	SizeofBpfVersion    = 0x4
    	SizeofBpfStat       = 0x8
    	SizeofBpfZbuf       = 0xc
    	SizeofBpfProgram    = 0x8
    	SizeofBpfInsn       = 0x8
    	SizeofBpfHdr        = 0x20
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 8K bytes
    - Viewed (0)
Back to top