Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for boolTest (0.19 sec)

  1. src/database/sql/convert_test.go

    		}
    		if ct.wantf64 != 0 && ct.wantf64 != float64Value(ct.d) {
    			errf("want float32 %v, got %v", ct.wantf64, float64Value(ct.d))
    		}
    		if bp, boolTest := ct.d.(*bool); boolTest && *bp != ct.wantbool && ct.wanterr == "" {
    			errf("want bool %v, got %v", ct.wantbool, *bp)
    		}
    		if !ct.wanttime.IsZero() && !ct.wanttime.Equal(timeValue(ct.d)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. src/encoding/asn1/asn1_test.go

    package asn1
    
    import (
    	"bytes"
    	"encoding/hex"
    	"fmt"
    	"math"
    	"math/big"
    	"reflect"
    	"strings"
    	"testing"
    	"time"
    )
    
    type boolTest struct {
    	in  []byte
    	ok  bool
    	out bool
    }
    
    var boolTestData = []boolTest{
    	{[]byte{0x00}, true, false},
    	{[]byte{0xff}, true, true},
    	{[]byte{0x00, 0x00}, false, false},
    	{[]byte{0xff, 0xff}, false, false},
    	{[]byte{0x01}, false, false},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 18:24:36 UTC 2023
    - 43.6K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryCompilationIntegrationTest.groovy

                        testImplementation project(':b')
                    }
                """)
                src {
                    test {
                        java {
                            'ToolTest.java'('public class ToolTest { public void test(Tool tool) {} }')
                        }
                    }
                }
            }
    
            subproject('b') {
                'build.gradle'('''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top