Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 631 for reflector (0.04 sec)

  1. cmd/server-main_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 cmd
    
    import (
    	"context"
    	"reflect"
    	"testing"
    )
    
    func TestServerConfigFile(t *testing.T) {
    	for _, testcase := range []struct {
    		config      string
    		expectedErr bool
    		hash        string
    	}{
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/TypeResolver.java

    import com.google.common.collect.ImmutableMap;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.lang.reflect.GenericArrayType;
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.lang.reflect.WildcardType;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.LinkedHashSet;
    import java.util.Map;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

            // Modify the original array after passing it to the constructor
            originalHash[0] = 0x00;
    
            // The value in AvChannelBindings should reflect the change since it stores a reference
            assertEquals(0x00, avChannelBindings.getRaw()[0], "Value should reflect changes to original array as it stores a reference");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

            }
        }
    
        public void test_classStructure() {
            // Verify the class is generic
            final java.lang.reflect.TypeVariable<?>[] typeParameters = FessActionValidator.class.getTypeParameters();
            assertEquals("Should have one type parameter", 1, typeParameters.length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.testing.EqualsTester;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Subscriber}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. cmd/metacache-stream_test.go

    	if !reflect.DeepEqual(names, want) {
    		t.Errorf("got unexpected result: %#v", names)
    	}
    
    	// Try with prefix
    	r = loadMetacacheSample(t)
    	err = r.forwardTo("src/compress/zlib/reader_t")
    	if err != nil {
    		t.Fatal(err)
    	}
    	names, err = r.readNames(-1)
    	if err != io.EOF {
    		t.Fatal(err)
    	}
    	if !reflect.DeepEqual(names, want) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    import java.lang.reflect.Method;
    import java.lang.reflect.Type;
    import java.util.Arrays;
    import java.util.Comparator;
    import javax.lang.model.element.Modifier;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

    import android.content.Context
    import android.os.Build
    import android.os.StrictMode
    import android.security.NetworkSecurityPolicy
    import android.util.Log
    import java.io.IOException
    import java.lang.reflect.InvocationTargetException
    import java.lang.reflect.Method
    import java.net.InetSocketAddress
    import java.net.Socket
    import java.security.cert.TrustAnchor
    import java.security.cert.X509Certificate
    import javax.net.ssl.SSLContext
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 29 16:52:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

    package jcifs.internal.dtyp;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.lang.reflect.Field;
    import java.lang.reflect.Modifier;
    import java.util.Arrays;
    import java.util.HashSet;
    import java.util.Set;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Test class for SecurityInfo interface constants
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. callbacks/query.go

    			queryFields := db.QueryFields
    			if !queryFields {
    				switch db.Statement.ReflectValue.Kind() {
    				case reflect.Struct:
    					queryFields = db.Statement.ReflectValue.Type() != db.Statement.Schema.ModelType
    				case reflect.Slice:
    					queryFields = db.Statement.ReflectValue.Type().Elem() != db.Statement.Schema.ModelType
    				}
    			}
    
    			if queryFields {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (1)
Back to top