Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 3,766 for same (0.19 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        val sentHeaders = headerEntries("name", "value")
        val headerBytes = literalHeaders(sentHeaders)
        writeMedium(frame, headerBytes.size.toInt())
        frame.writeByte(Http2.TYPE_HEADERS)
        frame.writeByte(FLAG_END_HEADERS or FLAG_END_STREAM)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeAll(headerBytes)
    
        // Check writer sends the same bytes.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  2. cmd/os-readdir_test.go

    	entries := []string{}
    	for i := range 10 {
    		name := fmt.Sprintf("file-%d", i)
    		if err := os.WriteFile(filepath.Join(dir, name), []byte{}, os.ModePerm); err != nil {
    			// For cleanup, its required to add these entries into test results.
    			testResults = append(testResults, result{dir, entries})
    			t.Fatalf("Unable to create file, %s", err)
    		}
    		entries = append(entries, name)
    	}
    
    	// Keep entries sorted for easier comparison.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            SmbComNTCreateAndX req = createRequest(0, 0);
            String str = req.toString();
            assertTrue(str.startsWith("SmbComNTCreateAndX["), "toString should start with class name");
            assertTrue(str.contains("name=test.txt"), "The file name should appear");
            // securityFlags are set to 0x03 – verify hex sequence
            assertTrue(str.contains("securityFlags=0x03"), "securityFlags should be present");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            assertNull(session.transport, "transport not created yet");
            SmbTransport tr = session.transport();
            assertNotNull(tr, "transport should now exist");
            // subsequent calls return the same instance
            assertSame(tr, session.transport());
        }
    
        @Test
        void sendResetsResponseAndForwards() throws Exception {
            SmbSession session = new SmbSession(addr, 445, inet, 0, auth);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

        }
    
        @Test
        @DisplayName("Should produce consistent keys for same input")
        void testDeriveKeys_Consistency() {
            // Given
            int dialect = Smb2Constants.SMB2_DIALECT_0311;
    
            // When - derive same key twice
            byte[] signingKey1 = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, preauthIntegrity);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/custom-docs-ui-assets.md

    The same as when using a custom CDN, the first step is to disable the automatic docs, as those use the CDN by default.
    
    To disable them, set their URLs to `None` when creating your `FastAPI` app:
    
    {* ../../docs_src/custom_docs_ui/tutorial002.py hl[9] *}
    
    ### Include the custom docs for static files { #include-the-custom-docs-for-static-files }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/websockets.md

    <img src="/img/tutorial/websockets/image04.png">
    
    And all of them will use the same WebSocket connection.
    
    ## Using `Depends` and others { #using-depends-and-others }
    
    In WebSocket endpoints you can import from `fastapi` and use:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    They work the same way as for other FastAPI endpoints/*path operations*:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTreeHandleTest.java

         * Verifies that the method returns the correct OEM domain name.
         * @throws CIFSException
         */
        @Test
        void testGetOEMDomainName() throws CIFSException {
            when(smbTreeHandle.getOEMDomainName()).thenReturn("TEST_DOMAIN");
            assertEquals("TEST_DOMAIN", smbTreeHandle.getOEMDomainName(), "OEM domain name should be TEST_DOMAIN");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Joiner.java

       * this {@code Joiner} otherwise.
       *
       * @since 20.0
       */
      public MapJoiner withKeyValueSeparator(char keyValueSeparator) {
        return withKeyValueSeparator(String.valueOf(keyValueSeparator));
      }
    
      /**
       * Returns a {@code MapJoiner} using the given key-value separator, and the same configuration as
       * this {@code Joiner} otherwise.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. cmd/endpoint.go

    						return nil, setupType,
    							config.ErrInvalidErasureEndpoints(nil).Msg(fmt.Sprintf("same path '%s' can not be served by different port on same address", endpoint.Path))
    					}
    					pathIPMap[endpoint.Path] = IPSet.Union(hostIPSet)
    				} else {
    					pathIPMap[endpoint.Path] = hostIPSet
    				}
    			}
    		}
    
    		// Check whether same path is used for more than 1 local endpoints.
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
Back to top