Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 281 for and (0.43 sec)

  1. tests/sql_builder_test.go

    		t.Fatalf("invalid sql generated, got %v", sql)
    	}
    
    	sql = dryRunDB.Where("a = ? or b = ?", "a", "b").Where("c = ? and d = ?", "c", "d").Not("e = ? and f = ?", "e", "f").Find(&User{}).Statement.SQL.String()
    	if !regexp.MustCompile(`WHERE \(a = .+ or b = .+\) AND \(c = .+ and d = .+\) AND NOT \(e = .+ and f = .+\) AND .users.\..deleted_at. IS NULL`).MatchString(sql) {
    		t.Fatalf("invalid sql generated, got %v", sql)
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  2. src/bufio/bufio.go

    	}
    	b.buf[b.r] = byte(b.lastByte)
    	b.lastByte = -1
    	b.lastRuneSize = -1
    	return nil
    }
    
    // ReadRune reads a single UTF-8 encoded Unicode character and returns the
    // rune and its size in bytes. If the encoded rune is invalid, it consumes one byte
    // and returns unicode.ReplacementChar (U+FFFD) with a size of 1.
    func (b *Reader) ReadRune() (r rune, size int, err error) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  3. operator/cmd/mesh/install.go

    		return err
    	}
    	// If there is no default webhook but a revisioned default webhook exists,
    	// and we are installing a new IOP with default semantics, the default webhook shifts.
    	if exists && len(mwhs.Items) == 0 && iop.Spec.GetRevision() == "" {
    		p.Println("This installation will make default injection and validation pointing to the default revision, and " +
    			"originally it was pointing to the revisioned one.")
    	}
    	return nil
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  4. misc/go_android_exec/main.go

    	// passed on, the hanging adb subprocess will hold them open and
    	// go test will hang forever.
    	//
    	// Avoid that by wrapping stderr, breaking the short circuit and
    	// forcing cmd.Run to use another pipe and goroutine to pass
    	// along stderr from adb.
    	cmd.Stderr = struct{ io.Writer }{os.Stderr}
    	err := cmd.Run()
    
    	// Before we process err, flush any further output and get the exit code.
    	exitCode, err2 := filter.Finish()
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/informers.go

    		// we get here in 2 cases:
    		// 1. new pod was created on our node
    		// 2. we were restarted and current existing pods are added to our cache
    
    		// We have no good way to distinguish between these two cases from here. But we don't need to!
    		// Existing pods will be handled by the dataplane using `GetAmbientPods`,
    		// and the initial enqueueNamespace, and new pods will be handled by the CNI.
    
    	case controllers.EventUpdate:
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    			// This is wrong and leads to an output file that mangles the
    			// atime and ctime fields, which are often left unused.
    			//
    			// In order to continue reading tar files created by former, buggy
    			// versions of Go, we skeptically parse the atime and ctime fields.
    			// If we are unable to parse them and the prefix field looks like
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  7. cmd/bucket-policy-handlers_test.go

    				condition.NewFunctions(),
    			),
    		},
    	}
    }
    
    // Wrapper for calling Create Bucket and ensure we get one and only one success.
    func TestCreateBucket(t *testing.T) {
    	ExecObjectLayerAPITest(t, testCreateBucket, []string{"MakeBucket"})
    }
    
    // testCreateBucket - Test for calling Create Bucket and ensure we get one and only one success.
    func testCreateBucket(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  8. src/archive/zip/writer.go

    		// local character encoding. Most encoding are compatible with a large
    		// subset of CP-437, which itself is ASCII-like.
    		//
    		// Forbid 0x7e and 0x5c since EUC-KR and Shift-JIS replace those
    		// characters with localized currency and overline characters.
    		if r < 0x20 || r > 0x7d || r == 0x5c {
    			if !utf8.ValidRune(r) || (r == utf8.RuneError && size == 1) {
    				return false, false
    			}
    			require = true
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  9. cmd/object-api-interface.go

    type CheckPreconditionFn func(o ObjectInfo) bool
    
    // EvalMetadataFn validates input objInfo and GetObjectInfo error and returns an updated metadata and replication decision if any
    type EvalMetadataFn func(o *ObjectInfo, gerr error) (ReplicateDecision, error)
    
    // EvalRetentionBypassFn validates input objInfo and GetObjectInfo error and returns an error if retention bypass is not allowed.
    type EvalRetentionBypassFn func(o ObjectInfo, gerr error) error
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  10. cmd/sts-handlers.go

    	}
    
    	accessToken := r.Form.Get(stsWebIdentityAccessToken)
    
    	// RoleARN parameter processing: If a role ARN is given in the request, we
    	// use that and validate the authentication request. If not, we assume this
    	// is an STS request for a claim based IDP (if one is present) and set
    	// roleArn = openid.DummyRoleARN.
    	//
    	// Currently, we do not support multiple claim based IDPs, as there is no
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top