Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 92 for Reflection (0.24 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    				for i := 0; i < tt.args.initialLen; i++ {
    					val[i].Name = fmt.Sprintf("test-%d", i)
    				}
    				tt.args.v = reflect.ValueOf(val)
    			}
    			// reflection requires that the value be addressable in order to call set,
    			// so we must ensure the value we created is available on the heap (not a problem
    			// for normal usage)
    			if !tt.args.v.CanAddr() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. src/encoding/binary/binary_test.go

    			err := dec.fn(BigEndian, slice, []byte{0, 1, 2, 255})
    			checkResult(t, dec.name, BigEndian, err, slice, []bool{false, true, true, true})
    		})
    	}
    }
    
    // Addresses of arrays are easier to manipulate with reflection than are slices.
    var intArrays = []any{
    	&[100]int8{},
    	&[100]int16{},
    	&[100]int32{},
    	&[100]int64{},
    	&[100]uint8{},
    	&[100]uint16{},
    	&[100]uint32{},
    	&[100]uint64{},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. src/encoding/json/decode.go

    			v.SetFloat(n)
    		}
    	}
    	return nil
    }
    
    // The xxxInterface routines build up a value to be stored
    // in an empty interface. They are not strictly necessary,
    // but they avoid the weight of reflection in this common case.
    
    // valueInterface is like value but returns interface{}
    func (d *decodeState) valueInterface() (val any) {
    	switch d.opcode {
    	default:
    		panic(phasePanicMsg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  4. pilot/pkg/model/service.go

    	return true
    }
    
    func copyInternal(v any) any {
    	copied, err := copystructure.Copy(v)
    	if err != nil {
    		// There are 2 locations where errors are generated in copystructure.Copy:
    		//  * The reflection walk over the structure fails, which should never happen
    		//  * A configurable copy function returns an error. This is only used for copying times, which never returns an error.
    		// Therefore, this should never happen
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  5. pilot/pkg/features/experimental.go

    	EnableLeaderElection = env.Register("ENABLE_LEADER_ELECTION", true,
    		"If enabled (default), starts a leader election client and gains leadership before executing controllers. "+
    			"If false, it assumes that only one instance of istiod is running and skips leader election.").Get()
    
    	EnableSidecarServiceInboundListenerMerge = env.Register(
    		"PILOT_ALLOW_SIDECAR_SERVICE_INBOUND_LISTENER_MERGE",
    		false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/execution/selection/DefaultBuildTaskSelector.java

                } else {
                    Path projectPrefix = selection.getOriginalPath().getParent();
                    ProjectState project = defaultBuild.getProjects().getProject(projectPrefix);
                    return getSelectorForBuild(defaultBuild).getSelection(selection, project, selection.getOriginalPath().getName(), false);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/viewing_debugging_dependencies.adoc

    [[sec:resolving-variant-aware-errors]]
    === Variant Selection Errors
    
    Sometimes a selection error happens at the <<variant_model.adoc#understanding-variant-selection,variant selection level>>.
    Have a look at the <<variant_model.adoc#sec:variant-select-errors,dedicated section>> to understand these errors and how to resolve them.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ModuleResolveState.java

            // Remove any outgoing edges for the current selection
            selected.removeOutgoingEdges();
    
            this.selected = newSelection;
            this.replaced = false;
    
            doRestart(newSelection);
            changingSelection = false;
        }
    
        /**
         * Clears the current selection for the module, to prepare for conflict resolution.
         * - For the current selection, disconnect and remove any outgoing dependencies.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/multicluster.go

    			log.Infof("should join leader-election for cluster %s: %t", cluster.ID, shouldLead)
    		}
    		if m.startNsController && (shouldLead || configCluster) {
    			// Block server exit on graceful termination of the leader controller.
    			m.s.RunComponentAsyncAndWait("namespace controller", func(_ <-chan struct{}) error {
    				log.Infof("joining leader-election for %s in %s on cluster %s",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/ResolutionFailureHandler.java

    import java.util.Optional;
    import java.util.Set;
    
    /**
     * Provides a central location for handling failures encountered during
     * each stage of the variant selection process during dependency resolution.
     *
     * All variant selection failures encountered during selection by the {@link GraphVariantSelector} or
     * {@link AttributeMatchingArtifactVariantSelector}
     * should be routed through this class.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top