Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,392 for case1 (0.02 sec)

  1. statement.go

    			}
    		case clause.Interface:
    			c := clause.Clause{Name: v.Name()}
    			v.MergeClause(&c)
    			c.Build(stmt)
    		case clause.Expression:
    			v.Build(stmt)
    		case driver.Valuer:
    			stmt.Vars = append(stmt.Vars, v)
    			stmt.DB.Dialector.BindVarTo(writer, stmt, v)
    		case []byte:
    			stmt.Vars = append(stmt.Vars, v)
    			stmt.DB.Dialector.BindVarTo(writer, stmt, v)
    		case []interface{}:
    			if len(v) > 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

        /**
         * @param request {@link ArtifactResolverRequest}
         * @return {@link ArtifactResolverResult}
         * @throws ArtifactResolverException in case of an error
         * @throws IllegalArgumentException in case of parameter {@code buildingRequest} is {@code null} or
         *             parameter {@code mavenArtifact} is {@code null} or invalid
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                    switch (ch) {
                        case '\\':
                            out.append('\\');
                            break;
                        case '\'':
                            out.append('\'');
                            break;
                        case '\"':
                            out.append('"');
                            break;
                        case 'r':
                            out.append('\r');
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    	}
    
    	switch opts.status {
    	// The caller did not ask to update status account, do nothing
    	case "":
    	case string(madmin.AccountEnabled):
    		cr.Status = auth.AccountOn
    	case string(madmin.AccountDisabled):
    		cr.Status = auth.AccountOff
    	// Update account status
    	case auth.AccountOn, auth.AccountOff:
    		cr.Status = opts.status
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  5. callbacks/create.go

    	curTime := stmt.DB.NowFunc()
    
    	switch value := stmt.Dest.(type) {
    	case map[string]interface{}:
    		values = ConvertMapToValuesForCreate(stmt, value)
    	case *map[string]interface{}:
    		values = ConvertMapToValuesForCreate(stmt, *value)
    	case []map[string]interface{}:
    		values = ConvertSliceOfMapToValuesForCreate(stmt, value)
    	case *[]map[string]interface{}:
    		values = ConvertSliceOfMapToValuesForCreate(stmt, *value)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. utils/utils_unix_test.go

    //go:build unix
    // +build unix
    
    package utils
    
    import (
    	"testing"
    )
    
    func TestSourceDir(t *testing.T) {
    	cases := []struct {
    		file string
    		want string
    	}{
    		{
    			file: "/Users/name/go/pkg/mod/gorm.io/gorm@v1.2.3/utils/utils.go",
    			want: "/Users/name/go/pkg/mod/gorm.io/",
    		},
    		{
    			file: "/go/work/proj/gorm/utils/utils.go",
    			want: "/go/work/proj/gorm/",
    		},
    		{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Nov 21 02:48:13 UTC 2022
    - 731 bytes
    - Viewed (0)
  7. internal/store/store_test.go

    		if testCase.expectedKey.Name != key.Name {
    			t.Fatalf("case[%v]: Expected key.Name: %v, got %v", i, testCase.expectedKey.Name, key.Name)
    		}
    		if testCase.expectedKey.Compress != key.Compress {
    			t.Fatalf("case[%v]: Expected key.Compress: %v, got %v", i, testCase.expectedKey.Compress, key.Compress)
    		}
    		if testCase.expectedKey.Extension != key.Extension {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. internal/lock/lock_windows.go

    	}
    
    	var access uint32
    	switch flag {
    	case syscall.O_RDONLY:
    		access = syscall.GENERIC_READ
    	case syscall.O_WRONLY:
    		access = syscall.GENERIC_WRITE
    	case syscall.O_RDWR:
    		fallthrough
    	case syscall.O_RDWR | syscall.O_CREAT:
    		fallthrough
    	case syscall.O_WRONLY | syscall.O_CREAT:
    		access = syscall.GENERIC_READ | syscall.GENERIC_WRITE
    	case syscall.O_WRONLY | syscall.O_CREAT | syscall.O_APPEND:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/transport/Transport.java

        public synchronized void connect( long timeout ) throws TransportException {
            try {
                switch (state) {
                    case 0:
                        break;
                    case 3:
                        return; // already connected
                    case 4:
                        state = 0;
                        throw new TransportException( "Connection in error", te );
                    default:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9K bytes
    - Viewed (0)
  10. cmd/metacache-stream.go

    	if r.err != nil {
    		return metaCacheEntry{}, r.err
    	}
    	if r.current.name != "" {
    		return r.current, nil
    	}
    	if more, err := r.mr.ReadBool(); !more {
    		switch err {
    		case nil:
    			r.err = io.EOF
    			return metaCacheEntry{}, io.EOF
    		case io.EOF:
    			r.err = io.ErrUnexpectedEOF
    			return metaCacheEntry{}, io.ErrUnexpectedEOF
    		}
    		r.err = err
    		return metaCacheEntry{}, err
    	}
    
    	var err error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top