Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for s2 (0.14 sec)

  1. statement_test.go

    				})
    			}
    
    			s1 := s.clone()
    			s1.AddClause(clause.Where{
    				Exprs: s.BuildCondition("FINAL1"),
    			})
    			s2 := s.clone()
    			s2.AddClause(clause.Where{
    				Exprs: s.BuildCondition("FINAL2"),
    			})
    
    			if reflect.DeepEqual(s1.Clauses["WHERE"], s2.Clauses["WHERE"]) {
    				t.Errorf("Where conditions should be different")
    			}
    		})
    	}
    }
    
    func TestNilCondition(t *testing.T) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Dec 23 13:19:41 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/arm64.s

    	VZIP1	V6.D2, V9.D2, V11.D2            // 2b39c64e
    	VZIP2	V10.D2, V13.D2, V3.D2           // a379ca4e
    	VZIP1	V17.S2, V4.S2, V26.S2           // 9a38910e
    	VZIP2	V25.S2, V14.S2, V25.S2          // d979990e
    	VUXTL	V30.B8, V30.H8                  // dea7082f
    	VUXTL	V30.H4, V29.S4                  // dda7102f
    	VUXTL	V29.S2, V2.D2                   // a2a7202f
    	VUXTL2	V30.H8, V30.S4                  // dea7106f
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ObjectsTest.java

        assertTrue(Objects.equal(1, 1));
        assertTrue(Objects.equal(null, null));
    
        // test distinct string objects
        String s1 = "foobar";
        String s2 = new String(s1);
        assertTrue(Objects.equal(s1, s2));
    
        assertFalse(Objects.equal(s1, null));
        assertFalse(Objects.equal(null, s1));
        assertFalse(Objects.equal("foo", "bar"));
        assertFalse(Objects.equal("1", 1));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  4. cmd/bootstrap-peer-server.go

    func (s1 *ServerSystemConfig) Diff(s2 *ServerSystemConfig) error {
    	ns1 := s1.NEndpoints
    	ns2 := s2.NEndpoints
    	if ns1 != ns2 {
    		return fmt.Errorf("Expected number of endpoints %d, seen %d", ns1, ns2)
    	}
    
    	for i, cmdLine := range s1.CmdLines {
    		if cmdLine != s2.CmdLines[i] {
    			return fmt.Errorf("Expected command line argument %s, seen %s", cmdLine,
    				s2.CmdLines[i])
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/MoreObjectsTest.java

    /** Tests for {@link MoreObjects}. */
    @GwtCompatible(emulated = true)
    public class MoreObjectsTest extends TestCase {
      public void testFirstNonNull_withNonNull() {
        String s1 = "foo";
        String s2 = MoreObjects.firstNonNull(s1, "bar");
        assertSame(s1, s2);
    
        Long n1 = 42L;
        Long n2 = MoreObjects.firstNonNull(null, n1);
        assertSame(n1, n2);
    
        Boolean b1 = true;
        Boolean b2 = MoreObjects.firstNonNull(b1, null);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        assertThat(s1).isInstanceOf(Subscriber.SynchronizedSubscriber.class);
    
        // a thread-safe method should not create a synchronized subscriber
        Subscriber s2 = Subscriber.create(bus, this, getTestSubscriberMethod("threadSafeMethod"));
        assertThat(s2).isNotInstanceOf(Subscriber.SynchronizedSubscriber.class);
      }
    
      public void testInvokeSubscriberMethod_basicMethodCall() throws Throwable {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/MoreObjectsTest.java

    /** Tests for {@link MoreObjects}. */
    @GwtCompatible(emulated = true)
    public class MoreObjectsTest extends TestCase {
      public void testFirstNonNull_withNonNull() {
        String s1 = "foo";
        String s2 = MoreObjects.firstNonNull(s1, "bar");
        assertSame(s1, s2);
    
        Long n1 = 42L;
        Long n2 = MoreObjects.firstNonNull(null, n1);
        assertSame(n1, n2);
    
        Boolean b1 = true;
        Boolean b2 = MoreObjects.firstNonNull(b1, null);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/CacheUtils.java

    /**
     */
    class CacheUtils {
    
        /**
         * @deprecated Use {@link Objects#equals(Object)}
         */
        @Deprecated
        public static <T> boolean eq(T s1, T s2) {
            return Objects.equals(s1, s2);
        }
    
        /**
         * @deprecated Use {@link Objects#hashCode(Object)}
         */
        @Deprecated
        public static int hash(Object obj) {
            return obj != null ? obj.hashCode() : 0;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/ObjectsTest.java

        assertTrue(Objects.equal(1, 1));
        assertTrue(Objects.equal(null, null));
    
        // test distinct string objects
        String s1 = "foobar";
        String s2 = new String(s1);
        assertTrue(Objects.equal(s1, s2));
    
        assertFalse(Objects.equal(s1, null));
        assertFalse(Objects.equal(null, s1));
        assertFalse(Objects.equal("foo", "bar"));
        assertFalse(Objects.equal("1", 1));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/arm64error.s

    	VFMLA	V1.S4, V12.S2, V3.D2                             // ERROR "operand mismatch"
    	VFMLA	V1.H4, V12.H4, V3.D2                             // ERROR "operand mismatch"
    	VFMLS	V1.S2, V12.S2, V3.S4                             // ERROR "operand mismatch"
    	VFMLS	V1.S2, V12.D2, V3.S4                             // ERROR "operand mismatch"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 37.8K bytes
    - Viewed (0)
Back to top