Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 571 for ensures (0.05 sec)

  1. cmd/generic-handlers.go

    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		if origin := w.Header().Get("Access-Control-Allow-Origin"); origin == "null" {
    			// This is a workaround change to ensure that "Origin: null"
    			// incoming request to a response back as "*" instead of "null"
    			w.Header().Set("Access-Control-Allow-Origin", "*")
    		}
    		if globalDNSConfig == nil || !globalBucketFederation ||
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  2. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

                            java.lang.reflect.Modifier.isStatic(method.getModifiers()));
                }
            }
        }
    
        public void test_parse_large_input() {
            // Test with large input to ensure performance
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                if (i > 0)
                    sb.append(",");
                sb.append("\"field").append(i).append("\"");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                }
                releaseLease(key);
            } catch (Exception e) {
                log.error("Error handling lease break for key: " + key, e);
                // On error, ensure we're in safe state
                LeaseEntry entry = leases.get(key);
                if (entry != null) {
                    entry.updateState(Smb2LeaseState.SMB2_LEASE_NONE);
                }
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameServicePacketTest.java

            NameServicePacket.writeInt4(100, src, 6); // ttl
            NameServicePacket.writeInt2(6, src, 10); // rDataLength (for one NbtAddress)
    
            packet.questionName = mockQuestionName; // Ensure questionName is set
    
            int read = packet.readResourceRecordWireFormat(src, 0);
            assertEquals(18, read); // 2 (pointer) + 2 (type) + 2 (class) + 4 (ttl) + 2 (rDataLength) + 6 (rData)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

          .readTimeout(Duration.ofMillis(500))
          .addInterceptor(
            Interceptor { chain: Interceptor.Chain ->
              val response = chain.proceed(chain.request())
              // Ensure application interceptors never see a null body.
              assertThat(response.body).isNotNull()
              response
            },
          ).build()
    
      private fun configureClientTestRule(): OkHttpClientTestRule {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceTest.java

         */
        private SmbResource createMockResource() {
            return mock(SmbResource.class);
        }
    
        @BeforeEach
        void setUp() {
            // Reset mocks to ensure clean state for each test
            reset(mockResource, mockLocator, mockContext);
        }
    
        @Nested
        @DisplayName("Interface Contract Tests")
        class InterfaceContractTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            ChannelInfo channel = new ChannelInfo(channelId, transport, localIf, remoteIf);
    
            // Establish connection
            channel.setState(ChannelState.CONNECTING);
            // Connection would be ensured through proper transport interface
    
            // Perform channel binding
            performChannelBinding(channel);
    
            // Add to active channels
            channels.put(channelId, channel);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  8. docs/en/docs/contributing.md

    This helps to make sure that:
    
    * The documentation is up-to-date.
    * The documentation examples can be run as is.
    * Most of the features are covered by the documentation, ensured by test coverage.
    
    #### Apps and docs at the same time
    
    If you run the examples with, e.g.:
    
    <div class="termy">
    
    ```console
    $ fastapi dev tutorial001.py
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Jul 26 11:35:42 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                assertTrue("process should be called for " + origin, processCalled);
                assertEquals(origin, processOrigin);
            }
        }
    
        // Test constants are not modifiable (ensure they're final)
        public void test_constantsAreImmutable() throws Exception {
            Field originField = CorsHandler.class.getDeclaredField("ACCESS_CONTROL_ALLOW_ORIGIN");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  10. helm-releases/minio-3.0.0.tgz

    active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure bucket exists, purging if asked to createBucket() { BUCKET=$1 POLICY=$2 PURGE=$3 VERSIONING=$4 # Purge the bucket, if set & exists # Since PURGE is user input, check explicitly for `true` if [ $PURGE = true ]; then if checkBucketExists $BUCKET ; then...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 02 01:47:43 UTC 2021
    - 13.8K bytes
    - Viewed (0)
Back to top