Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 104 for snappy (0.14 sec)

  1. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                 * so let's populate them here
                 */
    
                andxCommand = buffer[bufferIndex];
                andxOffset = readInt2(buffer, bufferIndex + 2);
    
                if (andxOffset == 0) { /* Snap server workaround */
                    andxCommand = (byte) 0xFF;
                }
    
                /*
                 * no point in calling readParameterWordsWireFormat if there are no more
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            int len = block.decode(buf, 0);
            assertTrue(len > 0);
            assertEquals(4, block.wordCount);
            assertNull(block.andx);
        }
    
        @Test
        @DisplayName("readAndXWireFormat applies Snap server workaround (offset 0)")
        void testReadAndXWireFormatSnapWorkaround() {
            DummyAndXBlock block = new DummyAndXBlock();
            block.headerStart = 0;
    
            byte[] buf = new byte[64];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_02_py39.py hl[8,10:11] *}
    
    This simple case is handled automatically by FastAPI because the return type annotation is the class (or a subclass of) `Response`.
    
    And tools will also be happy because both `RedirectResponse` and `JSONResponse` are subclasses of `Response`, so the type annotation is correct.
    
    ### Annotate a Response Subclass { #annotate-a-response-subclass }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

        @DisplayName("unwrap returns this for compatible types and throws otherwise")
        void unwrap_success_and_failure() {
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\z");
    
            // Happy path: unwrap to interface and concrete type
            SmbPipeHandle unwrapped1 = handle.unwrap(SmbPipeHandle.class);
            SmbPipeHandleImpl unwrapped2 = handle.unwrap(SmbPipeHandleImpl.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/IntMathTest.java

    @GwtCompatible
    @NullUnmarked
    public class IntMathTest extends TestCase {
      public void testMaxSignedPowerOfTwo() {
        assertTrue(IntMath.isPowerOfTwo(IntMath.MAX_SIGNED_POWER_OF_TWO));
    
        // Extra work required to make GWT happy.
        long value = IntMath.MAX_SIGNED_POWER_OF_TWO * 2L;
        assertFalse(IntMath.isPowerOfTwo((int) value));
      }
    
      public void testCeilingPowerOfTwo() {
        for (int x : POSITIVE_INTEGER_CANDIDATES) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                 */
    
                this.andxCommand = buffer[bufferIndex];
                this.andxOffset = SMBUtil.readInt2(buffer, bufferIndex + 2);
    
                if (this.andxOffset == 0) { /* Snap server workaround */
                    this.andxCommand = (byte) 0xFF;
                }
    
                /*
                 * no point in calling readParameterWordsWireFormat if there are no more
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

    import jcifs.internal.smb1.trans2.Trans2SetFileInformation;
    import jcifs.internal.smb1.trans2.Trans2SetFileInformationResponse;
    import jcifs.internal.smb2.info.Smb2SetInfoRequest;
    
    /**
     * Tests for SmbRandomAccessFile covering happy paths, edge cases, and interactions.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    public class SmbRandomAccessFileTest {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                            } catch (CyclicDependencyException e) {
                                // would like to throw this, but we have crappy stuff in the repo
    
                                fireEvent(
                                        ResolutionListener.OMIT_FOR_CYCLE,
                                        listeners,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       * Implementations must support such concurrent calls.
       *
       * Note that cancellation is best-effort and that a call may proceed normally after it has been
       * canceled. For example, happy-path events like [requestHeadersStart] and [requestHeadersEnd] may
       * occur after a call is canceled. Typically cancellation takes effect when an expensive I/O
       * operation is required.
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. internal/bucket/object/lock/lock_test.go

    	days := uint64(30)
    	daysPtr := &days
    	years := uint64(2)
    	yearsPtr := &years
    
    	tests := []struct {
    		name string
    		c    Config
    		want string
    	}{
    		{
    			name: "happy case",
    			c: Config{
    				ObjectLockEnabled: "Enabled",
    			},
    			want: "Enabled: true",
    		},
    		{
    			name: "with default retention days",
    			c: Config{
    				ObjectLockEnabled: "Enabled",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.4K bytes
    - Viewed (0)
Back to top