Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 1,132 for Expected (0.04 sec)

  1. android/guava-tests/test/com/google/common/base/FunctionsTest.java

          // convoluted way to check that the same result happens from each
          Y expected = null;
          try {
            expected = f.apply(i);
          } catch (IllegalArgumentException e) {
            try {
              g.apply(i);
              fail();
            } catch (IllegalArgumentException ok) {
              continue;
            }
          }
          assertEquals(expected, g.apply(i));
        }
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoResponse.java

            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 2) {
                throw new SMBProtocolDecodingException("Expected structureSize = 2");
            }
            return 2;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/ClassIteratorTest.java

            assertThat(it.next(), is(sameClass(Number.class)));
    
            assertThat(it.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = ClIllegalArgumentException.class)
        public void testInterface() throws Exception {
            new ClassIterator(Iterable.class);
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            assertEquals(exception1.getClass(), exception2.getClass());
        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedMessage = "Expected error";
            try {
                throw new FessSystemException(expectedMessage);
            } catch (FessSystemException e) {
                assertEquals(expectedMessage, e.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. logger/sql.go

    		return true
    	case reflect.Float32, reflect.Float64:
    		return true
    	default:
    		return false
    	}
    }
    
    // ExplainSQL generate SQL string with given parameters, the generated SQL is expected to be used in logger, execute it might introduce a SQL injection vulnerability
    func ExplainSQL(sql string, numericPlaceholder *regexp.Regexp, escaper string, avars ...interface{}) string {
    	var (
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            assertNotNull(avSingleHost);
            assertEquals(AvPair.MsvAvSingleHost, avSingleHost.getType());
            byte[] value = avSingleHost.getRaw();
            assertNotNull(value);
            assertEquals(48, value.length); // Expected size: 8 + 8 + 32
    
            // Verify the machine ID part
            byte[] actualMachineId = new byte[32];
            System.arraycopy(value, 16, actualMachineId, 0, 32);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. .github/workflows/multipart/migrate.sh

    	fi
    
    	((attempt++))
    done
    
    status=$(./mc admin group info site1 site-replication-issue-group --json | jq .groupStatus | tr -d '"')
    
    if [[ $status == "enabled" ]]; then
    	echo "Success"
    else
    	echo "Expected status: enabled, actual status: $status"
    	exit 1
    fi
    
    cleanup
    
    ## change working directory
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        if (response.code != 101) {
          throw ProtocolException(
            "Expected HTTP 101 response but was '${response.code} ${response.message}'",
          )
        }
    
        val headerConnection = response.header("Connection")
        if (!"Upgrade".equals(headerConnection, ignoreCase = true)) {
          throw ProtocolException(
            "Expected 'Connection' header value 'Upgrade' but was '$headerConnection'",
          )
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            assertThat(itr.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = NullArgumentException.class)
        public void testConstructorWithNull() throws Exception {
            new EnumerationIterator<String>((Enumeration<String>) null);
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/ASN1Util.java

        }
    
        /**
         * Read a tagged object without parsing it's contents
         *
         * BC no longer seems to allow that out of the box
         *
         * @param expectTag the expected tag number
         * @param limit the maximum length limit
         * @param in the ASN.1 input stream
         * @return coded bytes of the tagged object
         * @throws IOException if reading fails or tag mismatch
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top