Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,225 for equalTo (0.04 sec)

  1. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            assertNotNull(salt1);
            assertNotNull(salt2);
            assertEquals(32, salt1.length); // 32 bytes as per SMB 3.1.1 spec
            assertEquals(32, salt2.length);
            assertFalse(java.util.Arrays.equals(salt1, salt2)); // Should be different
        }
    
        @Test
        @DisplayName("Test session initialization")
        public void testSessionInitialization() throws CIFSException {
            String sessionId = "test-session-1";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. 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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jun 01 07:22:21 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ByteEncodableTest.java

            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
            ByteEncodable encodable = new ByteEncodable(data, 1, 3);
    
            // Verify size
            assertEquals(3, encodable.size(), "Size should be equal to the specified length");
        }
    
        @Test
        void testEncodeBasic() {
            // Test basic encoding
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

            assertEquals(auth1, auth2, "Authenticators with same credentials should be equal");
            assertNotEquals(auth1, auth3, "Authenticators with different passwords should not be equal");
        }
    
        @Test
        public void testMultipleSecureWipes() {
            authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", "password");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_internal.h

    namespace tensorflow {
    
    // Set the shapes and types of the output's handle.
    //
    // The lengths of the arrays pointed to by `shapes`, `ranks`, and `types` must
    // all be equal to `num_shapes_and_types`. If `ranks[i] != -1`, (i.e., if the
    // rank is known), then it must be equal to the length of `shapes[i]`; if
    // `ranks[i] == 1`, then `shapes[i]` may be nullptr.
    //
    // TODO(akshayka): Implement a corresponding getter method.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/PathValidator.java

            }
    
            // Check for standalone double dots that could be dangerous
            String[] parts = path.split("[\\\\/]");
            for (String part : parts) {
                if (".".equals(part) || "..".equals(part)) {
                    return true;
                }
            }
    
            return false;
        }
    
        /**
         * Normalize a path
         */
        private String normalizePath(String path) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                                if (isPrefix || "xmlns".equals(aname)) {
                                    final int index = aname.indexOf(':');
                                    final String p = isPrefix ? aname.substring(index + 1) : StringUtil.EMPTY;
                                    if (p.equals(prefix)) {
                                        namespace = attr.getNodeValue();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

          Class<E> featureEnumClass) {
        Class<?>[] classes = featureEnumClass.getDeclaredClasses();
        for (Class<?> containedClass : classes) {
          if (containedClass.getSimpleName().equals("Require")) {
            if (containedClass.isAnnotation()) {
              assertGoodTesterAnnotation(asAnnotation(containedClass));
            } else {
              fail(
                  rootLocaleFormat(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestImplementationTest.java

                    .coordinates(Arrays.asList(coords2, coords1)) // Different order
                    .repositories(repositories1)
                    .build();
    
            // Test equals and hashCode
            assertEquals(request1, request2);
            assertEquals(request1.hashCode(), request2.hashCode());
            assertNotEquals(request1, request3);
    
            // Test toString
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

       * such a parameter.
       */
      fun parameter(name: String): String? {
        for (i in parameterNamesAndValues.indices step 2) {
          if (parameterNamesAndValues[i].equals(name, ignoreCase = true)) {
            return parameterNamesAndValues[i + 1]
          }
        }
        return null
      }
    
      @JvmName("-deprecated_type")
      @Deprecated(
        message = "moved to val",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top