Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 92 for getg (0.3 sec)

  1. src/runtime/tracetime.go

    // traceTime represents a timestamp for the trace.
    type traceTime uint64
    
    // traceClockNow returns a monotonic timestamp. The clock this function gets
    // the timestamp from is specific to tracing, and shouldn't be mixed with other
    // clock sources.
    //
    // nosplit because it's called from exitsyscall, which is nosplit.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/internal/poll/splice_linux.go

    		return nil
    	}
    	runtime.SetFinalizer(p, destroyPipe)
    	return p
    }
    
    // getPipe tries to acquire a pipe buffer from the pool or create a new one with newPipe() if it gets nil from the cache.
    func getPipe() (*splicePipe, error) {
    	v := splicePipePool.Get()
    	if v == nil {
    		return nil, syscall.EINVAL
    	}
    	return v.(*splicePipe), nil
    }
    
    func putPipe(p *splicePipe) {
    	// If there is still data left in the pipe,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/runtime/cpuprof.go

    	// non-Go-created threads. Those stacks are written
    	// to log the next time a normal Go thread gets the
    	// signal handler.
    	// Assuming the stacks are 2 words each (we don't get
    	// a full traceback from those threads), plus one word
    	// size for framing, 100 Hz profiling would generate
    	// 300 words per second.
    	// Hopefully a normal Go thread will get the profiling
    	// signal at least once every few seconds.
    	extra      [1000]uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/path/filepath/match.go

    					}
    					name = t
    					continue Pattern
    				}
    				if err != nil {
    					return false, err
    				}
    			}
    		}
    		return false, nil
    	}
    	return len(name) == 0, nil
    }
    
    // scanChunk gets the next segment of pattern, which is a non-star string
    // possibly preceded by a star.
    func scanChunk(pattern string) (star bool, chunk, rest string) {
    	for len(pattern) > 0 && pattern[0] == '*' {
    		pattern = pattern[1:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top