Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 186 for Reflection (0.62 sec)

  1. 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)
  2. 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)
  3. src/reflect/type.go

    // Zero takes a Type and returns a Value representing a zero value
    // for that type.
    //
    // See "The Laws of Reflection" for an introduction to reflection in Go:
    // https://golang.org/doc/articles/laws_of_reflection.html
    package reflect
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"strconv"
    	"sync"
    	"unicode"
    	"unicode/utf8"
    	"unsafe"
    )
    
    // Type is the representation of a Go type.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  4. 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)
  5. guava-tests/test/com/google/common/collect/MapsTest.java

       * noted, but the initial table is a zero-length array.
       *
       * <p>This test may fail miserably on non-OpenJDK environments...
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // relies on assumptions about OpenJDK
      public void testNewHashMapWithExpectedSize_wontGrow() throws Exception {
        // before jdk7u40: creates one-bucket table
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    /**
     * A {@link DynamicObject} which uses groovy reflection to provide access to the properties and methods of a bean.
     *
     * <p>Uses some deep hacks to avoid some expensive reflections and the use of exceptions when a particular property or method cannot be found,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top