Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2051 - 2060 of 2,684 for catch (0.04 seconds)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

                Instant start = MonotonicClock.start();
    
                assertTrue(now.isAfter(start), "Current time should be after start time");
            }
    
            @Test
            @DisplayName("Elapsed time should match time difference")
            void testElapsedTimeConsistency() {
                MonotonicClock clock = MonotonicClock.get();
                Instant now = clock.instant();
                Duration elapsed = clock.elapsedTime();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. docs_src/query_params_str_validations/tutorial010_py310.py

    @app.get("/items/")
    async def read_items(
        q: str | None = Query(
            default=None,
            alias="item-query",
            title="Query string",
            description="Query string for the items to search in the database that have a good match",
            min_length=3,
            max_length=50,
            pattern="^fixedquery$",
            deprecated=True,
        ),
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 542 bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            int readLen = response.readParameterWordsWireFormat(bytes, 0);
            long expectedOffset = expectedInt; // Sign extension happens here for negative values
            assertEquals(expectedOffset, response.getOffset(), "Offset should match decoded value");
            assertEquals(4, readLen, "Byte count returned should be 4");
        }
    
        @Test
        @DisplayName("readParameterWordsWireFormat with a too-short buffer - throws exception")
    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)
  4. src/main/webapp/WEB-INF/orig/view/searchNoResult.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
    <%-- query did not match any document --%>
    <div id="result" class="row">
    	<div class="col-md-8">
    		<div class="text-center py-4">
    			<p class="mb-3"><i class="fa fa-search fa-3x text-muted" aria-hidden="true"></i></p>
    			<p class="mb-2"><la:message key="labels.did_not_match" arg0="${displayQuery}" /></p>
    			<p class="text-muted"><la:message key="labels.did_not_match_suggestion" /></p>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 969 bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            assertEquals(8, decoded);
            assertNotNull(str);
            assertTrue(str.contains("4096"));
        }
    
        /**
         * Test FileInformation constants match expected protocol values
         */
        @Test
        @DisplayName("Test FileInformation constants match SMB protocol values")
        void testFileInformationConstantsMatchProtocol() {
            // These values are defined in MS-FSCC specification
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  6. .ci/jobs.t/elastic+elasticsearch+multijob+platform-support-windows.yml

              properties-content: |
                JAVA_HOME=$USERPROFILE\\.java\\$ES_BUILD_JAVA
                RUNTIME_JAVA_HOME=$USERPROFILE\\.java\\$ES_RUNTIME_JAVA
                JAVA15_HOME=$USERPROFILE\\.java\\openjdk15
          - batch: |
              del /f /s /q %USERPROFILE%\.gradle\init.d\*.*
              mkdir %USERPROFILE%\.gradle\init.d
              copy .ci\init.gradle %USERPROFILE%\.gradle\init.d\
              (
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 09 01:50:21 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  7. cmd/erasure-healing-common_test.go

    		parity := commonParity(parities, 5)
    		var match int
    		for _, fi := range metaArr {
    			if fi.Erasure.ParityBlocks == parity {
    				match++
    			}
    		}
    		if match < len(metaArr)-parity {
    			t.Fatalf("Test %d: Expected %d drives with parity=%d, but got %d", idx, len(metaArr)-parity, parity, match)
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/SmallCharMatcher.java

       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
        // Correct the size for open addressing to match desired load factor.
        // Round up to the next highest power of 2.
        int tableSize = Integer.highestOneBit(setSize - 1) << 1;
        while (tableSize * DESIRED_LOAD_FACTOR < setSize) {
          tableSize <<= 1;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

                default -> array[i];
                };
            }
            return new String(array);
        }
    
        /**
         * Fixes a string to match Windows-specific mapping rules.
         *
         * @param source
         *            The string
         * @return The string fixed to match Windows-specific mapping rules
         */
        public static String toWindowsMapping(final String source) {
            if (isEmpty(source)) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            // When
            int bytesWritten = trans.writeParametersWireFormat(dst, 0);
    
            // Then
            assertEquals(dst.length, bytesWritten, "The number of bytes written should match the expected length.");
            // Check informationLevel
            assertEquals((byte) (informationLevel & 0xFF), dst[0]);
            assertEquals((byte) ((informationLevel >> 8) & 0xFF), dst[1]);
            // Check reserved bytes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top