Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InternalIsZero (0.13 sec)

  1. src/reflect/export_test.go

    	oldFloatSize = floatRegSize
    	intArgRegs = ints
    	floatArgRegs = floats
    	floatRegSize = floatSize
    	clearLayoutCache()
    	return
    }
    
    var MethodValueCallCodePtr = methodValueCallCodePtr
    
    var InternalIsZero = isZero
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    			}
    		}()
    		(Value{}).IsZero()
    	}()
    }
    
    func TestInternalIsZero(t *testing.T) {
    	b := make([]byte, 512)
    	for a := 0; a < 8; a++ {
    		for i := 1; i <= 512-a; i++ {
    			InternalIsZero(b[a : a+i])
    		}
    	}
    }
    
    func TestInterfaceExtraction(t *testing.T) {
    	var s struct {
    		W io.Writer
    	}
    
    	s.W = os.Stdout
    	v := Indirect(ValueOf(&s)).Field(0).Interface()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top