Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,416 for sample2 (0.11 sec)

  1. platforms/documentation/docs/src/snippets/java/sourceSets-badConfNames/tests/sanityCheck.sample.conf

    executable: gradle
    args: tasks
    # Do not fail for deprecation warnings: This sample exists to demonstrate them.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 140 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/toolingApi/customModel/tests/sanityCheck.sample.conf

    commands: [{
        execution-subdirectory: plugin
        executable: gradle
        args: publish
    },{
        execution-subdirectory: sample-build
        executable: gradle
        args: tasks
    },{
        execution-subdirectory: tooling
        executable: gradle
        args: tasks
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 255 bytes
    - Viewed (0)
  3. src/internal/profile/merge.go

    	// existing sample.
    	k := s.key()
    	if ss, ok := pm.samples[k]; ok {
    		for i, v := range src.Value {
    			ss.Value[i] += v
    		}
    		return ss
    	}
    	copy(s.Value, src.Value)
    	pm.samples[k] = s
    	pm.p.Sample = append(pm.p.Sample, s)
    	return s
    }
    
    // key generates sampleKey to be used as a key for maps.
    func (sample *Sample) key() sampleKey {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 17 19:35:56 UTC 2020
    - 11.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    	// remove.
    
    	// Remove up to two frames.
    	maxiter := 2
    	// Allow one different sample for this many samples with the same
    	// second-to-last frame.
    	similarSamples := 32
    	margin := len(p.Sample) / similarSamples
    
    	for iter := 0; iter < maxiter; iter++ {
    		addr1 := make(map[uint64]int)
    		for _, s := range p.Sample {
    			if len(s.Location) > 1 {
    				a := s.Location[1].Address
    				addr1[a] = addr1[a] + 1
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

        This provides a simple check for `sample` that this is a mapping of
        {input_key: input_value}.
    
        Args:
          sample: A `RepresentativeSample` to validate.
    
        Returns:
          `sample` iff it is valid.
    
        Raises:
          ValueError: iff the sample isn't an instance of `Mapping`.
          KeyError: iff the sample does not have the set of input keys that match
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/writing-tasks/task-with-arguments/README.adoc

    NOTE: You can open the samples inside an IDE using the https://www.jetbrains.com/help/idea/gradle.html#gradle_import_project_start[IntelliJ native importer] or https://projects.eclipse.org/projects/tools.buildship[Eclipse Buildship].
    
    This sample shows how to create a plugin with a task that accepts arguments.
    The plugin is packaged via an included build.
    
    ====
    include::sample[dir="kotlin",files="build.gradle.kts[];settings.gradle.kts[]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1020 bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/profile/merge.go

    		uu := make([]string, len(u))
    		copy(vv, v)
    		copy(uu, u)
    		s.NumLabel[k] = vv
    		s.NumUnit[k] = uu
    	}
    	copy(s.Value, src.Value)
    	pm.samples[k] = s
    	pm.p.Sample = append(pm.p.Sample, s)
    	return s
    }
    
    func (pm *profileMerger) sampleKey(sample *Sample) sampleKey {
    	// Accumulate contents into a string.
    	var buf strings.Builder
    	buf.Grow(64) // Heuristic to avoid extra allocs
    
    	// encode a number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. src/math/rand/v2/rand_test.go

    	}
    }
    
    //
    // Normal distribution tests
    //
    
    func generateNormalSamples(nsamples int, mean, stddev float64, seed uint64) []float64 {
    	r := New(NewPCG(seed, seed))
    	samples := make([]float64, nsamples)
    	for i := range samples {
    		samples[i] = r.NormFloat64()*stddev + mean
    	}
    	return samples
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    		}
    
    		// Sum all the samples until the next instruction (to account
    		// for samples attributed to the middle of an instruction).
    		for next := insts[ix+1].Addr; s < len(samples); s++ {
    			if addr, err := file.ObjAddr(samples[s].Info.Address); err != nil || addr >= next {
    				break
    			}
    			sample := samples[s]
    			n.flatDiv += sample.FlatDiv
    			n.flat += sample.Flat
    			n.cumDiv += sample.CumDiv
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  10. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/samples/SamplesScalaZincIntegrationTest.groovy

     */
    
    package org.gradle.integtests.samples
    
    import org.gradle.integtests.fixtures.AbstractSampleIntegrationTest
    import org.gradle.integtests.fixtures.Sample
    import org.gradle.test.fixtures.file.TestFile
    import org.junit.Rule
    
    class SamplesScalaZincIntegrationTest extends AbstractSampleIntegrationTest {
    
        @Rule Sample sample = new Sample(temporaryFolder, 'scala/zinc')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top