Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 236 for Reflection (0.59 sec)

  1. cmd/postpolicyform.go

    	reader, err := sanitizePolicy(r)
    	if err != nil {
    		return PostPolicyForm{}, err
    	}
    
    	d := json.NewDecoder(reader)
    
    	// Convert po into interfaces and
    	// perform strict type conversion using reflection.
    	var rawPolicy struct {
    		Expiration string        `json:"expiration"`
    		Conditions []interface{} `json:"conditions"`
    	}
    
    	d.DisallowUnknownFields()
    	if err := d.Decode(&rawPolicy); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 10:52:41 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        Value reflection_if_finite =
            rewriter.create<SubOp>(loc, log_pi_minus_reflection_denom, log_y);
        Value reflection = rewriter.create<SelectV2Op>(
            loc, is_finite, reflection_if_finite, neg_reflection_denom);
    
        Value result =
            rewriter.create<SelectV2Op>(loc, need_to_reflect, reflection, log_y);
    
        // lgamma(+/-inf) = +inf.
        Value is_inf = rewriter.create<IsInfOp>(loc, tensor_bool_type, input);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

                    void assertScriptOrigin(Object o, Set<String> seen) {
                        assert (o instanceof org.gradle.internal.scripts.ScriptOrigin)
                        // need to get through reflection to bypass the Groovy MOP on closures, which would cause calling the method on the owner instead of the closure itself
                        def originalClassName = o.class.getMethod('getOriginalClassName').invoke(o)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/authorization/v1/types.go

    	Groups []string `json:"groups,omitempty" protobuf:"bytes,4,rep,name=groups"`
    	// Extra corresponds to the user.Info.GetExtra() method from the authenticator.  Since that is input to the authorizer
    	// it needs a reflection here.
    	// +optional
    	Extra map[string]ExtraValue `json:"extra,omitempty" protobuf:"bytes,5,rep,name=extra"`
    	// UID information about the requesting user.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/plugins/JavaGradlePluginPlugin.java

                }
            }
        }
    
        /**
         * Provides an {@code --add-opens} flag for {@code java.base/java.lang} if the JVM version
         * a given test task is running does not allow reflection of JDK internals by default.
         * Needed when using ProjectBuilder in tests.
         */
        private static class AddOpensCommandLineArgumentProvider implements CommandLineArgumentProvider {
            private final Test test;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 06:56:29 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top