Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,128 for reflect (0.28 sec)

  1. android/guava/src/com/google/common/reflect/TypeCapture.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.reflect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    
    /**
     * Captures the actual type of {@code T}.
     *
     * @author Ben Yu
     */
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 16 21:10:04 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  2. cmd/server-startup-msg_test.go

    	newAPIEndpoints := stripStandardPorts(apiEndpoints, "")
    
    	if !reflect.DeepEqual(expectedAPIEndpoints, newAPIEndpoints) {
    		t.Fatalf("Expected %#v, got %#v", expectedAPIEndpoints, newAPIEndpoints)
    	}
    
    	apiEndpoints = []string{"http://%%%%%:9000"}
    	newAPIEndpoints = stripStandardPorts(apiEndpoints, "")
    	if !reflect.DeepEqual(apiEndpoints, newAPIEndpoints) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/pod_cache_test.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package nodeagent
    
    import (
    	"reflect"
    	"sync/atomic"
    	"testing"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    func openNsTestOverride(s string) (NetnsCloser, error) {
    	return newFakeNs(inc()), nil
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import com.google.common.primitives.UnsignedInteger;
    import com.google.common.primitives.UnsignedLong;
    import com.google.common.reflect.AbstractInvocationHandler;
    import com.google.common.reflect.Invokable;
    import com.google.common.reflect.Parameter;
    import com.google.common.reflect.Reflection;
    import com.google.common.reflect.TypeToken;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.Reader;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  5. internal/event/name_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    import (
    	"encoding/json"
    	"encoding/xml"
    	"reflect"
    	"testing"
    )
    
    func TestNameExpand(t *testing.T) {
    	testCases := []struct {
    		name           Name
    		expectedResult []Name
    	}{
    		{BucketCreated, []Name{BucketCreated}},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  6. internal/s3select/sql/jsonpath_test.go

    				// fmt.Println(rec)
    				r, _, err := jsonpathEval(jp.PathExpr, rec)
    				if err != nil {
    					t.Errorf("Error: %d %d %v", i, j, err)
    				}
    				if !reflect.DeepEqual(r, tc.res[j]) {
    					fmt.Printf("%#v (%v) != %v (%v)\n", r, reflect.TypeOf(r), tc.res[j], reflect.TypeOf(tc.res[j]))
    					t.Errorf("case: %d %d failed", i, j)
    				}
    			}
    		})
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  7. callbacks/create_test.go

    package callbacks
    
    import (
    	"reflect"
    	"sync"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    )
    
    var schemaCache = &sync.Map{}
    
    func TestConvertToCreateValues_DestType_Slice(t *testing.T) {
    	type user struct {
    		ID    int `gorm:"primaryKey"`
    		Name  string
    		Email string `gorm:"default:(-)"`
    		Age   int    `gorm:"default:(-)"`
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 05:48:42 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import java.lang.reflect.InvocationHandler
    import java.lang.reflect.InvocationTargetException
    import java.lang.reflect.Method
    import java.lang.reflect.Proxy
    import javax.net.ssl.SSLSocket
    import okhttp3.Protocol
    
    /** OpenJDK 8 with `org.mortbay.jetty.alpn:alpn-boot` in the boot class path. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeParameterTest.java

     * limitations under the License.
     */
    
    package com.google.common.reflect;
    
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import java.lang.reflect.Method;
    import java.lang.reflect.TypeVariable;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link TypeParameter}.
     *
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  10. schema/relationship.go

    			})
    		}
    	}
    
    	joinTableFields = append(joinTableFields, reflect.StructField{
    		Name: strings.Title(schema.Name) + field.Name,
    		Type: schema.ModelType,
    		Tag:  `gorm:"-"`,
    	})
    
    	if relation.JoinTable, err = Parse(reflect.New(reflect.StructOf(joinTableFields)).Interface(), schema.cacheStore,
    		schema.namer); err != nil {
    		schema.err = err
    	}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top