Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Eq (0.01 sec)

  1. clause/expression.go

    		builder.WriteByte(')')
    	}
    }
    
    // Eq equal to for where
    type Eq struct {
    	Column interface{}
    	Value  interface{}
    }
    
    func (eq Eq) Build(builder Builder) {
    	builder.WriteQuoted(eq.Column)
    
    	switch eq.Value.(type) {
    	case []string, []int, []int32, []int64, []uint, []uint32, []uint64, []interface{}:
    		rv := reflect.ValueOf(eq.Value)
    		if rv.Len() == 0 {
    			builder.WriteString(" IN (NULL)")
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Nov 04 07:04:52 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                when(mockStrategies.get(0).apply(Mockito.eq(context), Mockito.any()))
                        .thenReturn(
                                new UpgradeResult(Set.of(Paths.get("pom.xml")), Set.of(Paths.get("pom.xml")), Set.of()));
    
                when(mockStrategies.get(1).isApplicable(context)).thenReturn(true);
                when(mockStrategies.get(1).apply(Mockito.eq(context), Mockito.any()))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. clause/expression_test.go

    	}{{
    		Expressions: []clause.Expression{
    			clause.Eq{Column: column, Value: "column-value"},
    		},
    		ExpectedVars: []interface{}{"column-value"},
    		Result:       "`column-name` = ?",
    	}, {
    		Expressions: []clause.Expression{
    			clause.Eq{Column: column, Value: nil},
    			clause.Eq{Column: column, Value: (*string)(nil)},
    			clause.Eq{Column: column, Value: (*int)(nil)},
    			clause.Eq{Column: column, Value: (*bool)(nil)},
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Nov 04 07:04:52 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existingZero);
        // since the putIfAbsent returned a zero, we'll try to replace...
        when(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class))).thenReturn(false);
        // ...and then putIfAbsent. Simulate failure on both
        when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existing);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  5. cmd/postpolicyform.go

    				}
    				// {"acl": "public-read" } is an alternate way to indicate - [ "eq", "$acl", "public-read" ]
    				// In this case we will just collapse this into "eq" for all use cases.
    				parsedPolicy.Conditions.Policies = append(parsedPolicy.Conditions.Policies, struct {
    					Operator string
    					Key      string
    					Value    string
    				}{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Oct 23 15:10:12 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. internal/s3select/sql/value.go

    		if len(left) != len(right) {
    			return false, nil
    		}
    		for i, l := range left {
    			eq, err := l.compareOp(op, &right[i])
    			if !eq || err != nil {
    				return eq, err
    			}
    		}
    		return true, nil
    	case opIneq:
    		for i, l := range left {
    			eq, err := l.compareOp(op, &right[i])
    			if eq || err != nil {
    				return eq, err
    			}
    		}
    		return false, nil
    	default:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  7. association.go

    					primaryFields = append(primaryFields, ref.PrimaryKey)
    					foreignKeys = append(foreignKeys, ref.ForeignKey.DBName)
    					updateMap[ref.ForeignKey.DBName] = nil
    				} else if ref.PrimaryValue != "" {
    					tx.Where(clause.Eq{Column: ref.ForeignKey.DBName, Value: ref.PrimaryValue})
    				}
    			}
    
    			if _, pvs := schema.GetIdentityFieldValuesMap(association.DB.Statement.Context, reflectValue, primaryFields); len(pvs) > 0 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Oct 26 12:09:12 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. schema/relationship.go

    				relForeignKeys = append(relForeignKeys, ref.ForeignKey.DBName)
    			} else if ref.PrimaryValue != "" {
    				conds = append(conds, clause.Eq{
    					Column: clause.Column{Table: rel.JoinTable.Table, Name: ref.ForeignKey.DBName},
    					Value:  ref.PrimaryValue,
    				})
    			} else {
    				conds = append(conds, clause.Eq{
    					Column: clause.Column{Table: rel.JoinTable.Table, Name: ref.ForeignKey.DBName},
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 16 04:11:05 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  9. generics.go

    		for _, ref := range rel.References {
    			if ref.OwnPrimaryKey && ref.PrimaryKey != nil {
    				ownersExists = ownersExists.Where(clause.Eq{
    					Column: clause.Column{Table: rel.Schema.Table, Name: ref.PrimaryKey.DBName},
    					Value:  clause.Column{Table: rel.JoinTable.Table, Name: ref.ForeignKey.DBName},
    				})
    			}
    		}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.service.impl;
    
    import static org.mockito.ArgumentMatchers.anyString;
    import static org.mockito.ArgumentMatchers.eq;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Map;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top