Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 280 for value6 (0.26 sec)

  1. test/typeparam/issue50481b.dir/b.go

    // license that can be found in the LICENSE file.
    
    package b
    
    import "fmt"
    
    type Foo[T1 ~string, T2 ~int] struct {
    	ValueA T1
    	ValueB T2
    }
    
    func (f *Foo[_, _]) String() string {
    	return fmt.Sprintf("%v %v", f.ValueA, f.ValueB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 21 00:39:55 UTC 2022
    - 338 bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            schema.matcher().isMatching(attr, value2, value1)
            !schema.matcher().isMatching(attr, value1, value2)
        }
    
        static class IncompatibleStringsRule implements AttributeCompatibilityRule<String> {
            @Override
            void execute(CompatibilityCheckDetails<String> details) {
                details.incompatible()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

    public class StreamUtilTest extends TestCase {
    
        public void test_ofValues() {
            String[] values = { "value1", "value2" };
            StreamUtil.stream(values[0], values[1]).of(s -> {
                Object[] array = s.toArray();
                for (int i = 0; i < 2; i++) {
                    assertEquals(values[i], array[i]);
                }
            });
        }
    
        public void test_ofNull() {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TaskBooleanOptionIntegrationTest.groovy

            given:
            file('buildSrc/src/main/java/SampleTask.java') << taskWithBooleanOptions()
            buildFile << sampleTask()
    
            when:
            run('sample', "--$option", "--no-$option")
    
            then:
            outputContains("Value of $option: $value1")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

            project.sourceDirectories[0].classpathAttributes.size() == 2
            project.sourceDirectories[0].classpathAttributes.find { it.name == 'key1' && it.value == 'value1'}
            project.sourceDirectories[0].classpathAttributes.find { it.name == 'key2' && it.value == 'value2'}
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/BaseTypeCodecTest.kt

            properties.setProperty("prop1", "value1")
            properties.setProperty("prop2", "value2")
            configurationCacheRoundtripOf(properties).run {
                assertThat(properties, equalTo(this))
            }
        }
    
        @Test
        fun `can handle Hashtable`() {
            val hashtable = Hashtable<String, Any>(100)
            hashtable.put("key1", "value1")
            hashtable.put("key2", true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ConventionAwareHelperTest.java

                    return toList("a");
                }
            });
    
            Object value1 = conventionAware.getConventionValue(null, "list1", false);
            Object value2 = conventionAware.getConventionValue(null, "list1", false);
            assertEquals(value1, value2);
            assertNotSame(value1, value2);
        }
    
        @Test public void doesNotUseMappingWhenExplicitValueProvided() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. test/typeparam/issue50481b.dir/main.go

    // a generic type that has multiple blank type params.
    
    package main
    
    import (
    	"./b"
    	"fmt"
    )
    
    func main() {
    	foo := &b.Foo[string, int]{
    		ValueA: "i am a string",
    		ValueB: 123,
    	}
    	if got, want := fmt.Sprintln(foo), "i am a string 123\n"; got != want {
    		panic(fmt.Sprintf("got %s, want %s", got, want))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 559 bytes
    - Viewed (0)
  9. tests/common/jwt/jwt_token_test.go

    		},
    		{
    			name:  "TokenIssuer1NestedClaims1",
    			token: TokenIssuer1WithNestedClaims1,
    			wantClaims: map[string]any{
    				"nested": map[string]any{
    					"key1": []any{"valueA", "valueB"},
    					"nested-2": map[string]any{
    						"key1": []any{"valueA", "valueB"},
    					},
    				},
    				"iss": "******@****.***",
    				"sub": "sub-1",
    				"exp": 4757607896.0,
    			},
    		},
    		{
    			name:  "TokenIssuer1NestedClaims2",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  10. tests/common/jwt/jwt_token.go

    	// Payload {
    	//  "exp": 4757607896,
    	//  "iat": 1604007896,
    	//  "iss": "******@****.***",
    	//  "nested": {
    	//    "key1": [
    	//      "valueA",
    	//      "valueB"
    	//    ],
    	//    "nested-2": {
    	//      "key1": [
    	//        "valueA",
    	//        "valueB"
    	//      ]
    	//    }
    	//  },
    	//  "sub": "sub-1"
    	// }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top