- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 4,847 for myModel (0.11 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy
} private void addModelImplementation(String targetBuildName) { file("$targetBuildName/src/main/groovy/my/MyModel.groovy") << """ package my class MyModel implements java.io.Serializable { private final String message MyModel(String message) { this.message = message } String getMessage() { message } String toString() { message }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 15.1K bytes - Viewed (0) -
platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/ComponentModelIntegrationTest.groovy
} apply plugin: Rules model { components { assert it.toString() == "ComponentSpecContainer 'components'" assert it instanceof ComponentSpecContainer } } """ expect: succeeds 'tasks' } def "component sources and binaries containers are visible in model report"() { when: succeeds "model" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 20.4K bytes - Viewed (0) -
platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentBinariesIntegrationTest.groovy
SampleBinary 'sampleLib:2ndBinary' build using task: :sampleLib2ndBinary """) where: ruleInputs << ["SampleLibrary library, CustomModel myModel", "CustomModel myModel, SampleLibrary library"] } def "@ComponentBinaries rule operates with fully configured component"() { given: buildFile << """ @Managed
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 13.8K bytes - Viewed (0) -
tests/test_jsonable_encoder.py
model = ModelWithDefault(foo="foo", bar="bar") assert jsonable_encoder(model) == {"foo": "foo", "bar": "bar", "bla": "bla"} assert jsonable_encoder(model, exclude_unset=True) == {"foo": "foo", "bar": "bar"} assert jsonable_encoder(model, exclude_defaults=True) == {"foo": "foo"} assert jsonable_encoder(model, exclude_unset=True, exclude_defaults=True) == { "foo": "foo" }
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ToolingApiPolymorphismCrossVersionTest.groovy
private static void assertModelIsPolymorphic(Object model) { assert model != null assert model instanceof BaseModel assert model instanceof ShallowChildModel assert ((ShallowChildModel) model).getShallowMessage() == "shallow poly from 'root'" assert model instanceof DeepChildModel assert ((DeepChildModel) model).getDeepMessage() == "deep poly from 'root'"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 11:03:18 UTC 2024 - 7.3K bytes - Viewed (0) -
model.go
package gorm import "time" // Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt // It may be embedded into your model or you may build your own model without it // // type User struct { // gorm.Model // } type Model struct { ID uint `gorm:"primarykey"` CreatedAt time.Time UpdatedAt time.Time DeletedAt DeletedAt `gorm:"index"`
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Feb 18 01:06:43 UTC 2023 - 396 bytes - Viewed (0) -
pilot/pkg/security/authz/model/model.go
} type ruleList struct { rules []*rule } // Model represents a single rule from an authorization policy. The conditions of the rule are consolidated into // permission or principal to align with the Envoy RBAC filter API. type Model struct { permissions []ruleList principals []ruleList } // New returns a model representing a single authorization policy.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 10:39:25 UTC 2024 - 13.8K bytes - Viewed (0) -
pilot/pkg/xds/v3/model.go
package v3 import ( "istio.io/istio/pkg/model" ) const ( ClusterType = model.ClusterType EndpointType = model.EndpointType ListenerType = model.ListenerType RouteType = model.RouteType SecretType = model.SecretType ExtensionConfigurationType = model.ExtensionConfigurationType NameTableType = model.NameTableType
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 04 20:29:08 UTC 2024 - 2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/Model.java
* limitations under the License. */ package org.gradle.tooling.model; // TODO:ADAM - Deprecate /** * A model that is buildable by the Tooling API. Models contain various information regarding the build. * Models are typically tailored to a specific domain, for example build environment or IDE. * * @since 1.0-milestone-8 */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 938 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/Model.java
* <p> * It is an error for a {@code @Model} rule to return {@code void} and specify a non-managed type as the first parameter. * It is an error for a {@code @Model} rule to return {@code void} and for the first parameter to be annotated with {@link Path}. * It is an error for a {@code @Model} rule to specify a managed type as the return type. * <h3>Creating non-managed model elements</h3> * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.8K bytes - Viewed (0)