Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 109 for snappy (0.03 seconds)

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

                // Available if context is established and integrity is supported
                return this.established && this.integrity;
            }
        }
    
        @Nested
        @DisplayName("Happy path behavior")
        class HappyPath {
            @Test
            @DisplayName("All getters return configured values and MIC roundtrips")
            void testAllMethodsHappyPath() throws Exception {
                // Arrange
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            assertTrue(length > 0);
            assertEquals(0, testBlock.wordCount);
            assertEquals(0, testBlock.byteCount);
        }
    
        @Test
        @DisplayName("Test decode with Snap server workaround")
        void testDecodeWithSnapServerWorkaround() throws SMBProtocolDecodingException {
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25);
            byte[] buffer = new byte[1024];
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. cmd/postpolicyform_test.go

    		name    string
    		fv      formValues
    		expired bool
    		wantErr string
    	}
    
    	// Test case just contains fields we override from defaultFormVals.
    	testCases := []testCase{
    		{
    			name:    "happy path no errors",
    			fv:      defaultFormVals.Clone(),
    			wantErr: "",
    		},
    		{
    			name:    "expired policy document",
    			fv:      defaultFormVals.Clone(),
    			expired: true,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

        }
    
        static Stream<String> wildcardProvider() {
            return Stream.of(null, "", "*");
        }
    
        @ParameterizedTest
        @MethodSource("wildcardProvider")
        @DisplayName("open() happy path: yields entries and closes with Smb2CloseRequest on close()")
        void happyPath_enumerates_and_closes(String wildcard) throws Exception {
            // Setup required for this test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  5. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. 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",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  7. 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);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  8. 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];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. 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 }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  10. 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,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
Back to Top