Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 353 for flavor1 (0.14 sec)

  1. pkg/test/echo/server/endpoint/http.go

    	}
    
    	// Choose a random "slice" from a pie
    	totalSlices := 0
    	for _, flavor := range codes {
    		totalSlices += flavor.slices
    	}
    	// nolint: gosec
    	// Test only code
    	slice := rand.Intn(totalSlices)
    
    	// What flavor is that slice?
    	responseCode := codes[len(codes)-1].httpResponseCode // Assume the last slice
    	position := 0
    	for n, flavor := range codes {
    		if position > slice {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 16:20:31 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/flavors/tests/flavors.sample.conf

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 31 bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/StronglyTypedConfigurationAttributesResolveIntegrationTest.groovy

                        c1 { attributes { attribute(flavor, objects.named(Flavor, 'preview')); $debug } }
                        c2 { attributes { attribute(flavor, objects.named(Flavor, 'preview')); $release } }
                        c3 { attributes { attribute(flavor, objects.named(Flavor, 'full')); $debug } }
                        c4 { attributes { attribute(flavor, objects.named(Flavor, 'full')); $release } }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 48.1K bytes
    - Viewed (0)
  4. src/internal/coverage/test/counter_test.go

    		mkfunc(0, 1, []uint32{16, 17}),
    		mkfunc(1, 0, []uint32{18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 976543, 7}),
    	}
    	writeVisitor := &ctrVis{funcs: funcs}
    
    	for kf, flav := range flavors {
    
    		t.Logf("testing flavor %d\n", flav)
    
    		// Open a counter data file in preparation for emitting data.
    		d := t.TempDir()
    		cfpath := filepath.Join(d, fmt.Sprintf("covcounters.hash.0.%d", kf))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 26 12:44:34 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. src/internal/coverage/encodecounter/encode.go

    		var buf []byte
    		var towr int
    		if cfw.cflavor == coverage.CtrRaw {
    			binary.LittleEndian.PutUint32(ctrb, val)
    			buf = ctrb
    			towr = 4
    		} else if cfw.cflavor == coverage.CtrULeb128 {
    			cfw.tmp = cfw.tmp[:0]
    			cfw.tmp = uleb128.AppendUleb128(cfw.tmp, uint(val))
    			buf = cfw.tmp
    			towr = len(buf)
    		} else {
    			panic("internal error: bad counter flavor")
    		}
    		if sz, err := ws.Write(buf); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PrebuiltLibrariesIntegrationTest.groovy

            app.library.writeSources(file("libs/src/hello"))
    
            file("libs/build.gradle") << """
    apply plugin: 'cpp'
    model {
        flavors {
            english
            french
        }
        components {
            hello(NativeLibrarySpec) {
                binaries.all {
                    if (flavor == flavors.french) {
                        cppCompiler.define "FRENCH"
                    }
                }
            }
        }
    }
    """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/native/native_software.adoc

    [[native_binaries:flavor]]
    === Flavor
    
    Each component can have a set of named `flavors`, and a separate binary variant can be produced for each flavor. While the `build type` and `target platform` variant dimensions have a defined meaning in Gradle, each project is free to define any number of flavors and apply meaning to them in any way.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  8. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildConfigurationAttributesResolveIntegrationTest.groovy

                version = '2.0-SNAPSHOT'
    
                def flavor = Attribute.of('flavor', $type)
                dependencies {
                    attributesSchema {
                        attribute(flavor)
                    }
                }
    
                configurations {
                    foo.attributes { attribute(flavor, $freeValue) }
                    bar.attributes { attribute(flavor, $paidValue) }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/prebuilt/PrebuiltLibraryInitializer.java

                    for (Flavor flavor : allFlavors) {
                        createNativeBinaries(prebuiltLibrary, platform, buildType, flavor, fileCollectionFactory);
                    }
                }
            }
        }
    
        public void createNativeBinaries(PrebuiltLibrary library, NativePlatform platform, BuildType buildType, Flavor flavor, FileCollectionFactory fileCollectionFactory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. src/go/ast/filter_test.go

    func (t1) f2() {}
    
    func (t2) f1() {}
    func (t2) f2() {}
    func (x *t2) f2() {}
    `
    
    // Calling ast.MergePackageFiles with ast.FilterFuncDuplicates
    // keeps a duplicate entry with attached documentation in favor
    // of one without, and it favors duplicate entries appearing
    // later in the source over ones appearing earlier. This is why
    // (*t2).f2 is kept and t2.f2 is eliminated in this test case.
    const golden = `package p
    
    type t1 struct{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 15:35:30 UTC 2022
    - 1.6K bytes
    - Viewed (0)
Back to top