Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 1,281 for Before (0.08 seconds)

  1. src/test/java/jcifs/util/transport/RequestTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    class RequestTest {
    
        @Mock
        private Request mockRequest;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks before each test
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testGetCreditCost() {
            // Test case for getCreditCost method
            int expectedCreditCost = 10;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. internal/handlers/proxy_test.go

    		{forwarded, `for=192.0.2.43, for=198.51.100.17;proto=https`, ""},    // Multiple params, will be empty.
    		{forwarded, `for=172.32.10.15; proto=https;by=127.0.0.1;`, "https"}, // Space before proto
    		{forwarded, `for=192.0.2.60;proto=http;by=203.0.113.43`, "http"},    // Multiple params
    	}
    	for _, v := range headers {
    		req := &http.Request{
    			Header: http.Header{
    				v.key: []string{v.val},
    			},
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. internal/grid/muxclient.go

    			return fmt.Errorf("internal error: subroute not defined on client")
    		}
    		hid := m.subroute.withHandler(msg.Handler)
    		before := len(dst)
    		dst = append(dst, hid[:]...)
    		if debugPrint {
    			fmt.Println("Added subroute", hid.String(), "to message", msg, "len", len(dst)-before)
    		}
    	}
    	if msg.Flags&FlagCRCxxh3 != 0 {
    		h := xxh3.Hash(dst)
    		dst = binary.LittleEndian.AppendUint32(dst, uint32(h))
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            client = runner.client();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            runner.admin().indices().prepareDelete("_all").execute().actionGet();
        }
    
        /**
         * Test getIndicesForAlias method with existing alias.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

        void noInteraction_whenExceptionOccursBeforeCall() {
            // Arrange
            Runnable r = mock(Runnable.class);
    
            // Act: simulate control flow where the exception happens before any collaborator is used
            try {
                throw new SmbUnsupportedOperationException();
            } catch (SmbUnsupportedOperationException ignored) {
                // ignore
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        /** The transaction name for named pipe transactions */
        protected String name = "";
        /** Maximum buffer size set in SmbTransport.sendTransaction() before nextElement called */
        protected int maxBufferSize; // set in SmbTransport.sendTransaction() before nextElement called
    
        private byte[] txn_buf;
    
        /**
         * Constructs a transaction request.
         *
         * @param config the configuration to use
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            return this.dialect;
        }
    
        /**
         * Set key rotation limits
         *
         * @param bytesLimit maximum bytes to encrypt before rotation (0 to disable)
         * @param timeMillis maximum time in milliseconds before rotation (0 to disable)
         */
        public void setKeyRotationLimits(long bytesLimit, long timeMillis) {
            if (bytesLimit > 0) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeCollector.java

    import org.eclipse.aether.collection.DependencyGraphTransformer;
    import org.eclipse.aether.graph.DependencyNode;
    
    /**
     * Collects processor type information from the dependency graph BEFORE conflict resolution.
     *
     * @since 4.0.0
     * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead
     * @see TypeDeriver
     */
    @Deprecated(since = "4.0.0")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  9. cmd/config.go

    				break
    			}
    		}
    		if !res.IsTruncated {
    			// We are done here
    			break
    		}
    		marker = res.NextMarker
    	}
    	sort.Slice(configHistory, func(i, j int) bool {
    		return configHistory[i].CreateTime.Before(configHistory[j].CreateTime)
    	})
    	return configHistory, nil
    }
    
    func delServerConfigHistory(ctx context.Context, objAPI ObjectLayer, uuidKV string) error {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/hash/HashingOutputStream.java

      /**
       * Creates an output stream that hashes using the given {@link HashFunction}, and forwards all
       * data written to it to the underlying {@link OutputStream}.
       *
       * <p>The {@link OutputStream} should not be written to before or after the hand-off.
       */
      // TODO(user): Evaluate whether it makes sense to always piggyback the computation of a
      // HashCode on an existing OutputStream, compared to creating a separate OutputStream that could
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.6K bytes
    - Click Count (0)
Back to Top