Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 92 for Reflection (0.17 sec)

  1. guava/src/com/google/common/primitives/UnsignedBytes.java

      }
    
      /**
       * Provides a lexicographical comparator implementation; either a Java implementation or a faster
       * implementation based on {@link Unsafe}.
       *
       * <p>Uses reflection to gracefully fall back to the Java implementation if {@code Unsafe} isn't
       * available.
       */
      @VisibleForTesting
      static class LexicographicalComparatorHolder {
        static final String UNSAFE_COMPARATOR_NAME =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ClassLoaderUtils.java

            }
        }
    
        /**
         * Define a class into a class loader.
         *
         * On Java 8, the implementation is simply invoking {@link ClassLoader#defineClass} reflectively.
         *
         * Since Java 9, reflection is severely restrained, and a new API {@link MethodHandles.Lookup#defineClass} is introduced.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java

            testNg.run();
        }
    
        /**
         * The setter for {@code configFailurePolicy} has a different signature depending on TestNG version.
         * This method uses reflection to detect the API and calls the version with the correct signature.
         *
         * If the TestNG version is greater than or equal to 6.9.12, the provided {@code value} is coerced to
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 21:25:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt

        /**
         * Resolve [KtDoubleColonExpression] and return [KaType] of its receiver.
         *
         * Return `null` if the resolution fails or the resolved callable reference is not a reflection type.
         */
        public fun KtDoubleColonExpression.getReceiverKtType(): KaType? =
            withValidityAssertion { analysisSession.typeProvider.getReceiverTypeForDoubleColonExpression(this) }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. src/fmt/print.go

    	switch verb {
    	case 'T':
    		p.fmt.fmtS(reflect.TypeOf(arg).String())
    		return
    	case 'p':
    		p.fmtPointer(reflect.ValueOf(arg), 'p')
    		return
    	}
    
    	// Some types can be done without reflection.
    	switch f := arg.(type) {
    	case bool:
    		p.fmtBool(f, verb)
    	case float32:
    		p.fmtFloat(float64(f), 32, verb)
    	case float64:
    		p.fmtFloat(f, 64, verb)
    	case complex64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

       * So in order to check ClassLoader garbage collection we need to create a new ClassLoader and
       * make it load its own version of FinalizableReferenceQueue. Then we need to interact with that
       * parallel version through reflection in order to exercise the parallel
       * FinalizableReferenceQueue, and then check that the parallel ClassLoader can be
       * garbage-collected after that.
       */
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. pkg/istio-agent/xds_proxy.go

    	"golang.org/x/net/http2"
    	google_rpc "google.golang.org/genproto/googleapis/rpc/status"
    	"google.golang.org/grpc"
    	"google.golang.org/grpc/codes"
    	"google.golang.org/grpc/metadata"
    	"google.golang.org/grpc/reflection"
    	anypb "google.golang.org/protobuf/types/known/anypb"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pilot/cmd/pilot-agent/status/ready"
    	"istio.io/istio/pilot/pkg/features"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  8. src/encoding/gob/type.go

    	"reflect"
    	"sync"
    	"sync/atomic"
    	"unicode"
    	"unicode/utf8"
    )
    
    // userTypeInfo stores the information associated with a type the user has handed
    // to the package. It's computed once and stored in a map keyed by reflection
    // type.
    type userTypeInfo struct {
    	user        reflect.Type // the type the user handed us
    	base        reflect.Type // the base type after all indirections
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. pilot/pkg/bootstrap/server.go

    	"time"
    
    	"github.com/fsnotify/fsnotify"
    	grpcprom "github.com/grpc-ecosystem/go-grpc-prometheus"
    	"golang.org/x/net/http2"
    	"google.golang.org/grpc"
    	"google.golang.org/grpc/credentials"
    	"google.golang.org/grpc/reflection"
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/client-go/rest"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/api/security/v1beta1"
    	"istio.io/istio/pilot/pkg/controllers/untaint"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  10. pkg/config/model.go

    			return proto.Clone(pb)
    		}
    	}
    
    	// gogo protobuf
    	if pb, ok := s.(gogoproto.Message); ok {
    		return gogoproto.Clone(pb)
    	}
    
    	// If we don't have a deep copy method, we will have to do some reflection magic. Its not ideal,
    	// but all Istio types have an efficient deep copy.
    	js, err := json.Marshal(s)
    	if err != nil {
    		return nil
    	}
    
    	data := reflect.New(reflect.TypeOf(s)).Interface()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top