- Sort Score
- Num 10 results
- Language All
Results 1741 - 1750 of 3,176 for Then (0.04 seconds)
-
internal/handlers/proxy_test.go
xForwardedFor: []string{"8.8.8.8"}, xRealIP: []string{"1.1.1.1"}, }, } // When X-Forwarded-For and X-Real-IP headers are both present, X-Forwarded-For takes precedence. res := GetSourceIP(req) if res != "8.8.8.8" { t.Errorf("wrong header, xff takes precedence: got %s, want: 8.8.8.8", res) } // When explicitly disabled, the XFF header is ignored and X-Real-IP is used. enableXFFHeader = falseCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 3.9K bytes - Click Count (0) -
guava-gwt/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.gwt.xml
<exclude name="**/testing/**"/> </source> <!-- We used to set this only for packages that had manual supersource. That worked everywhere that I know of except for one place: when running the GWT util.concurrent tests under Guava. The problem is that GWT responds poorly to two .gwt.xml files in the same Java package; seeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 19 16:02:36 GMT 2024 - 1.6K bytes - Click Count (0) -
guava-gwt/src/com/google/common/io/Io.gwt.xml
<exclude name="**/testing/**"/> </source> <!-- We used to set this only for packages that had manual supersource. That worked everywhere that I know of except for one place: when running the GWT util.concurrent tests under Guava. The problem is that GWT responds poorly to two .gwt.xml files in the same Java package; seeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 19 16:02:36 GMT 2024 - 1.6K bytes - Click Count (0) -
guava-gwt/test/com/google/common/collect/testing/Testing.gwt.xml
<exclude name="**/testing/**"/> </source> <!-- We used to set this only for packages that had manual supersource. That worked everywhere that I know of except for one place: when running the GWT util.concurrent tests under Guava. The problem is that GWT responds poorly to two .gwt.xml files in the same Java package; seeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 19 16:02:36 GMT 2024 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java
assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings"); assertNull(avChannelBindings.getRaw(), "Value should be null when null hash is provided"); } /** * Test that the constructor handles an empty channel binding hash. */ @Test void testConstructorWithEmptyHash() { byte[] emptyHash = new byte[0];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessFwAssistantDirector.java
direction.directFrameworkDebug(fessConfig.isFrameworkDebug()); // basically false // you can add your own process when your application is booting or closing direction.directCurtainBefore(createCurtainBeforeHook()); direction.directCurtainFinally(createCurtainFinallyHook()); // when destroy direction.directSecurity(createSecurityResourceProvider()); direction.directTime(createTimeResourceProvider());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:38:30 GMT 2026 - 10.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.when; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/EvictingQueue.java
import java.io.Serializable; import java.util.ArrayDeque; import java.util.Collection; import java.util.Queue; /** * A non-blocking queue which automatically evicts elements from the head of the queue when * attempting to add new elements onto the queue and it is full. This queue orders elements FIFO * (first-in-first-out). This data structure is logically equivalent to a circular buffer (i.e., * cyclic buffer or ring buffer). *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
// Configure the mock transport with the server data transport.server = serverData; smbtStatic = mockStatic(SmbTransport.class); smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445, inet, 0, null)).thenReturn(transport); smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445)).thenReturn(transport); } @AfterEach void tearDown() { if (smbtStatic != null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
// This should throw an ArrayIndexOutOfBoundsException when trying to read beyond array assertThrows(ArrayIndexOutOfBoundsException.class, () -> { msrpcShareGetInfo.getSecurity(); }); } @Test void testGetSecurityWithWrongInfoType() throws Exception { // Test when info is not ShareInfo502 srvsvc.ShareInfo0 info0 = new srvsvc.ShareInfo0();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0)