Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 1,771 for Equalf (0.07 sec)

  1. tests/gorm_test.go

    		} else if results.RowsAffected != 2 {
    			t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected)
    		} else if u1.ID == 0 {
    			t.Fatalf("ID expects : not equal 0, got %v", u1.ID)
    		} else if u2.ID == 0 {
    			t.Fatalf("ID expects : not equal 0, got %v", u2.ID)
    		}
    
    		var gotUsers []user
    		results = DB.Where("id in (?, ?)", u1.ID, u2.ID).Order("id asc").Select("id, name").Find(&gotUsers)
    		if results.Error != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        assertTrue(c.containsAll(of("a", "b", "c")));
      }
    
      public void testEquals_sameType() {
        Collection<String> c = of("a", "b", "c");
        assertTrue(c.equals(of("a", "b", "c")));
        assertFalse(c.equals(of("a", "b", "d")));
      }
    
      abstract <E extends Comparable<E>> ImmutableSet.Builder<E> builder();
    
      public void testBuilderWithNonDuplicateElements() {
        ImmutableSet<String> set =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/Kerb5Authenticator.java

        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.smb.NtlmPasswordAuthenticator#equals(java.lang.Object)
         */
        @Override
        public boolean equals ( Object other ) {
            // this method is called from SmbSession
            if ( other != null && other instanceof Kerb5Authenticator )
                return Objects.equals(this.getSubject(), ( (Kerb5Authenticator) other ).getSubject());
    
            return false;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

                @Override
                public void startElement(final String uri, final String localName, final String qName, final Attributes attributes)
                        throws SAXException {
                    if ("bar".equals(qName)) {
                        included = true;
                    }
                }
    
                @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

     */
    
    @SuppressWarnings("deprecation") // tests of a deprecated method
    public class FilesCreateTempDirTest extends TestCase {
      public void testCreateTempDir() throws IOException {
        if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
          assertThrows(IllegalStateException.class, Files::createTempDir);
          return;
        }
        File temp = Files.createTempDir();
        try {
          assertThat(temp.exists()).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. cni/pkg/util/podutil_test.go

    	}
    
    	podIPs := GetPodIPsIfPresent(pod)
    	assert.Equal(t, len(podIPs), 2)
    }
    
    func TestGetPodIPsIfNoPodIPPresent(t *testing.T) {
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: "derp",
    		},
    		Status: corev1.PodStatus{},
    	}
    
    	podIPs := GetPodIPsIfPresent(pod)
    	assert.Equal(t, len(podIPs), 0)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java

          this.host = host;
        }
    
        @Override public Response intercept(Chain chain) throws IOException {
          Request request = chain.request();
          if (request.url().host().equals(host)) {
            request = request.newBuilder()
                .header("Authorization", credentials)
                .build();
          }
          return chain.proceed(request);
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Nov 05 07:46:46 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java

            //String searchName = classificationName;
            //if (classificationName.contains(".")) {
            //    final String dbName = Srl.substringFirstFront(classificationName, ".");
            //    if (dbName.equals(DBCurrent.getInstance().projectName())) {
            //        searchName = Srl.substringFirstRear(classificationName, ".");
            //    } else {
            //        return null;
            //    }
            //}
            //try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

        }
    
        public BiFunction<String, Matcher, String> createPathMatcher(final Matcher matcher, final String replacement) { // for PathMapping
            if (FUNCTION_ENCODEURL_MATCHER.equals(replacement)) {
                return (u, m) -> DocumentUtil.encodeUrl(u);
            }
            if (!replacement.startsWith(GROOVY_MATCHER)) {
                return (u, m) -> m.replaceAll(replacement);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/podcgroupns_test.go

    			podUID, containerID, err := getPodUIDAndContainerIDFromCGroups(makeCGroups(tt.cgroupPaths))
    
    			if tt.expectMsg != "" {
    				assert.Equal(t, tt.expectMsg, err.Error())
    				return
    			}
    			assert.Equal(t, tt.expectPodUID, podUID)
    			assert.Equal(t, tt.expectContainerID, containerID)
    		})
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top