Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 3,116 for strings (0.04 seconds)

  1. schema/constraint_test.go

    package schema_test
    
    import (
    	"reflect"
    	"sync"
    	"testing"
    
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils/tests"
    )
    
    type UserCheck struct {
    	Name  string `gorm:"check:name_checker,name <> 'jinzhu'"`
    	Name2 string `gorm:"check:name <> 'jinzhu'"`
    	Name3 string `gorm:"check:,name <> 'jinzhu'"`
    }
    
    func TestParseCheck(t *testing.T) {
    	user, err := schema.Parse(&UserCheck{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  2. cmd/naughty-disk_test.go

    }
    
    func (d *naughtyDisk) ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) (entries []string, err error) {
    	if err := d.calcError(); err != nil {
    		return []string{}, err
    	}
    	return d.disk.ListDir(ctx, origvolume, volume, dirPath, count)
    }
    
    func (d *naughtyDisk) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/MavenProjectHelper.java

        void attachArtifact(MavenProject project, File artifactFile, String artifactClassifier);
    
        /**
         * * See {@link #attachArtifact(MavenProject, String, String, java.io.File)}, but with classifier set to null.
         * @param project project reference.
         * @param artifactType artifact type.
         * @param artifactFile artifact file.
         */
        void attachArtifact(MavenProject project, String artifactType, File artifactFile);
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginManagerException.java

     */
    public class PluginManagerException extends Exception {
    
        private final String pluginGroupId;
    
        private final String pluginArtifactId;
    
        private final String pluginVersion;
    
        private String goal;
    
        private MavenProject project;
    
        protected PluginManagerException(Plugin plugin, String message, MavenProject project, Throwable cause) {
            super(message, cause);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  5. cmd/peer-rest-client.go

    		peerRESTBucket: bucket,
    	}))
    	return err
    }
    
    // DeletePolicy - delete a specific canned policy.
    func (client *peerRESTClient) DeletePolicy(ctx context.Context, policyName string) (err error) {
    	_, err = deletePolicyRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTPolicy: policyName,
    	}))
    	return err
    }
    
    // LoadPolicy - reload a specific canned policy.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

        // CHECKSTYLE_ON: MagicNumber
    
        public static final String BUILD_VERSION_PROPERTY = "version";
    
        public static String showVersion() {
            return showVersion(null, null);
        }
    
        public static String showVersion(String commandLine, String terminal) {
            final String ls = System.lineSeparator();
            Properties properties = getBuildProperties();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Feb 10 15:02:53 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java

         */
        List<String> getInactiveProfileIds();
    
        /**
         * Gets the system properties to use for interpolation and profile activation. The system properties are collected
         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @return The execution properties, never {@code null}.
         */
        Map<String, String> getSystemProperties();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Requirement.java

    public class Requirement implements Cloneable {
        private final String role;
    
        private final String roleHint;
    
        public Requirement(String role) {
            this.role = role;
            this.roleHint = null;
        }
    
        public Requirement(String role, String roleHint) {
            this.role = role;
            this.roleHint = roleHint;
        }
    
        public String getRole() {
            return role;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

    
    // visible for testing
    fun kotlinSourceNameOf(classFilePath: String): String =
        classFilePath
            .removeSuffix(CLASS_FILE_EXTENSION)
            .removeSuffix("Kt")
            .replace(slashOrDollar, ".")
    
    
    // visible for testing
    fun classFilePathCandidatesFor(sourceName: String): Sequence<String> =
        sourceName.replace(".", "/").let { path ->
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

        private String javaHome;
    
        public static final String KEY_JAVAHOME = "jdkHome"; // NOI18N
    
        JavaToolchainImpl(ToolchainModel model, Logger logger) {
            super(model, "jdk", logger);
        }
    
        public String getJavaHome() {
            return javaHome;
        }
    
        public void setJavaHome(String javaHome) {
            this.javaHome = javaHome;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top