Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 1,443 for expected (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 60) {
                throw new SMBProtocolDecodingException("Expected structureSize = 60");
            }
            this.closeFlags = SMBUtil.readInt2(buffer, bufferIndex + 2);
            bufferIndex += 4;
            bufferIndex += 4; // Reserved
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. cmd/metrics-realtime.go

    		} else {
    			// not collecting per-cpu stats, so there will be only one element
    			if len(cm) == 1 {
    				m.Aggregated.CPU.TimesStat = &cm[0]
    			} else {
    				m.Errors = append(m.Errors, fmt.Sprintf("%s: Expected one CPU stat, got %d", byHostName, len(cm)))
    			}
    		}
    		cpuCount, err := c.Counts(true)
    		if err != nil {
    			m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (cpuCount)", byHostName, err.Error()))
    		} else {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

                }
            };
    
            try {
                customEnv.getTimeAdjustTimeMillisAsLong();
                fail("Should throw NumberFormatException");
            } catch (NumberFormatException e) {
                // Expected exception
                assertNotNull(e);
            }
        }
    
        // Test various numeric values for time adjust
        public void xtest_getTimeAdjustTimeMillisAsLong_variousValues() {
            // Test negative value
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

            if (versionMatcher.matches(PlatformVersion)) {
              val description = StringDescription()
              versionMatcher.describeTo(description)
              description.appendText(" expected to fail with exception that ")
              failureMatcher.describeTo(description)
    
              fail<Any>(description.toString())
            }
          }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
  5. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            assertNotNull(list1);
            assertNotNull(list2);
            assertSame(list1, list2);
        }
    
        @Test
        @DisplayName("Test toString returns expected format")
        void testToString() {
            String result = response.toString();
    
            assertNotNull(result);
            assertTrue(result.startsWith("NtTransQuerySecurityResponse["));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.ValueSource;
    
    /**
     * Test class for Smb2Constants
     * Tests all SMB2 protocol constants and their expected values
     */
    @DisplayName("Smb2Constants Test Suite")
    class Smb2ConstantsTest {
    
        @Test
        @DisplayName("Should have private constructor to prevent instantiation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbSessionImplTest.java

            SmbSessionImpl session = newSession();
            SmbTreeImpl t1 = session.getSmbTree("IPC$", null);
            SmbTreeImpl t2 = session.getSmbTree("ipc$", null); // case-insensitive match
            assertSame(t1, t2, "Expected same tree instance to be reused");
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @DisplayName("treeConnectLogon: invalid logon share throws SmbException")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
      private static final class ThrowingIterator<E> implements Iterator<E> {
        private final RuntimeException ex;
    
        private ThrowingIterator(RuntimeException ex) {
          this.ex = ex;
        }
    
        @Override
        public boolean hasNext() {
          // IteratorTester doesn't expect exceptions for hasNext().
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

          if (logger.isLoggable(FINE)) logger.fine(format("<< CONNECTION ${connectionPreface.hex()}"))
          if (CONNECTION_PREFACE != connectionPreface) {
            throw IOException("Expected a connection header but was ${connectionPreface.utf8()}")
          }
        }
      }
    
      @Throws(IOException::class)
      fun nextFrame(
        requireSettings: Boolean,
        handler: Handler,
      ): Boolean {
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Throwables.java

       * Throwables.getCauseAs(e, IOException.class)} keeps {@code e} as the {@link
       * ClassCastException}'s cause.
       *
       * @throws ClassCastException if the cause cannot be cast to the expected type. The {@code
       *     ClassCastException}'s cause is {@code throwable}.
       * @since 22.0
       */
      @GwtIncompatible // Class.cast(Object)
      public static <X extends Throwable> @Nullable X getCauseAs(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top