Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 101 for getg (0.03 sec)

  1. pkg/bootstrap/instance.go

    	if i == nil {
    		return "{}"
    	}
    
    	ba, err := json.Marshal(i)
    	if err != nil {
    		log.Warnf("Unable to marshal %v: %v", i, err)
    		return "{}"
    	}
    
    	return string(ba)
    }
    
    // GetEffectiveTemplatePath gets the template file that should be used for bootstrap
    func GetEffectiveTemplatePath(pc *model.NodeMetaProxyConfig) string {
    	var templateFilePath string
    	switch {
    	case pc.CustomConfigFile != "":
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    	err := json.Unmarshal(b, rawDump)
    	if err != nil {
    		return fmt.Errorf("error unmarshalling config dump response from ztunnel: %v", err)
    	}
    	// ensure that data gets unmarshalled into the right data type
    	if err := unmarshalListOrMap(rawDump.Services, &zDump.Services); err != nil {
    		return err
    	}
    	if err := unmarshalListOrMap(rawDump.Workloads, &zDump.Workloads); err != nil {
    		return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. pkg/kubelet/util/swap/swap_util.go

    		}
    
    		return true
    	}
    
    	tmpfsNoswapOptionAvailabilityOnce.Do(func() {
    		tmpfsNoswapOptionSupported = isTmpfsNoswapOptionSupportedHelper()
    	})
    
    	return tmpfsNoswapOptionSupported
    }
    
    // gets /proc/swaps's content as an input, returns true if swap is enabled.
    func isSwapOnAccordingToProcSwaps(procSwapsContent []byte) bool {
    	procSwapsContent = bytes.TrimSpace(procSwapsContent) // extra trailing \n
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 10:07:06 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. pkg/proxy/conntrack/cleanup.go

    // to UDP Service IPs. When a service has no endpoints and we drop traffic to it, conntrack
    // may create "black hole" entries for that IP+port. When the service gets endpoints we
    // need to delete those entries so further traffic doesn't get dropped.
    func deleteStaleServiceConntrackEntries(ct Interface, svcPortMap proxy.ServicePortMap, serviceUpdateResult proxy.UpdateServiceMapResult, endpointsUpdateResult proxy.UpdateEndpointsMapResult) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. pkg/test/framework/components/cluster/clusters.go

    	}, exclude(excluded...))
    }
    
    // IsExternalControlPlane indicates whether the clusters are set up in an enternal
    // control plane configuration. An external control plane is a primary cluster that
    // gets its Istio configuration from a different cluster.
    func (c Clusters) IsExternalControlPlane() bool {
    	for _, cc := range c {
    		if cc.IsExternalControlPlane() {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/cluster_scoping_pass.cc

    // instead of overriding the old value.  In other words, appending scope B to
    // scope A creates the conjunction of the scopes A and B (i.e, A & B) and,
    // in effect, the node gets both the old and new scopes.  As a unique scope
    // disallows a node being merged with nodes in other scopes, the scope
    // conjunction preserves the semantic of the old scope (i.e., the node still
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

        /**
         * Gets the session data associated with the specified key.
         *
         * @param key the key for which to retrieve the session data, must not be {@code null}
         * @return the session data associated with the key or {@code null} if none
         */
        @Nullable
        <T> T get(@Nonnull Key<T> key);
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

                return b.toString();
            }).collect(Collectors.joining(",")));
            buf.append("},");
            final GarbageCollectors gc = jvmStats.getGc();
            buf.append("\"gc\":{");
            buf.append(Arrays.stream(gc.getCollectors()).map(c -> {
                final StringBuilder b = new StringBuilder();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. src/runtime/tracemap.go

    			// different values, then both nodes will *always* get inserted,
    			// because the equality checking below will always fail.
    			//
    			// Performance note: contention on insertion is likely to be
    			// higher for small maps, but since this data structure is
    			// append-only, either the map stays small because there isn't
    			// much activity, or the map gets big and races to insert on
    			// the same node are much less likely.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java

                // Note that according to the documentation of `Files.move()`, whether this exception is thrown
                // is implementation specific: it can also happen that the target file gets overwritten, as if
                // `REPLACE_EXISTING` was specified. This seems to match the behavior exhibited by `File.renameTo()`.
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:53 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top