Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 561 - 570 of 1,006 for matchAt (0.05 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

        /**
         * Constructs a Trans2FindFirst2 request for finding files.
         *
         * @param config the configuration to use
         * @param filename the path to search in
         * @param wildcard the wildcard pattern to match
         * @param searchAttributes the file attributes to search for
         * @param batchCount the number of entries to return
         * @param batchSize the maximum size of the response buffer
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/ByteEncodableTest.java

            assertEquals(3, encodedLen, "Encoded length should be equal to the specified length");
    
            // Verify content
            assertArrayEquals(new byte[] { 0x02, 0x03, 0x04, 0x00, 0x00 }, dest, "Encoded bytes should match the expected subset");
        }
    
        @Test
        void testEncodeWithOffset() {
            // Test encoding with a destination offset
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. tests/test_security_oauth2_optional.py

        assert response.json() == {
            "detail": [
                {
                    "type": "string_pattern_mismatch",
                    "loc": ["body", "grant_type"],
                    "msg": "String should match pattern '^password$'",
                    "input": grant_type,
                    "ctx": {"pattern": "^password$"},
                }
            ]
        }
    
    
    def test_strict_login_correct_data():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. tests/test_dependency_yield_scope_websockets.py

        assert global_state["session_closed"] is True
        assert global_state["named_session_closed"] is True
    
    
    def test_broken_scope() -> None:
        with pytest.raises(
            FastAPIError,
            match='The dependency "get_named_func_session" has a scope of "request", it cannot depend on dependencies with scope "function"',
        ):
    
            @app.websocket("/broken-scope")
            async def get_broken(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

                    }
    
                    else -> line
                }
            }.toByteArray(StandardCharsets.UTF_8))
            require(replacementsCount == 1) { "The script file produced by the default start script doesn't match expected layout" }
        }
    
        private
        fun getAgentOptions(appHomeVar: String) = agentJarNames.map { "-javaagent:$appHomeVar/lib/agents/$it" }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Apr 08 01:46:59 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java

                    "BEER",
                    INSTALL.getPhase());
    
            // The two phases below are really for future expansion, some would say they lack a drink
            // The point being that they do not really have to match the "real" stuff,
            List<String> stubCleanCycle = Arrays.asList(PRE_CLEAN.getPhase(), CLEAN.getPhase(), POST_CLEAN.getPhase());
    
            List<String> stubSiteCycle =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

            assertFalse(toolchain.matchesRequirements(Collections.singletonMap("name", "John Doe")));
            verify(logger).debug("Toolchain {} doesn't match required property: {}", toolchain, "name");
        }
    
        @Test
        void testEquals() {
            ToolchainModel tm1 = new ToolchainModel();
            tm1.setType("jdk");
            tm1.addProvide("version", "1.5");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. internal/arn/arn.go

    	if ps[2] != string(arnServiceIAM) {
    		err = errors.New("invalid ARN - bad service field")
    		return arn, err
    	}
    
    	// ps[3] is region and is not validated here. If the region is invalid,
    	// the ARN would not match any configured ARNs in the server.
    	if ps[4] != "" {
    		err = errors.New("invalid ARN - unsupported account-id field")
    		return arn, err
    	}
    
    	res := strings.SplitN(ps[5], "/", 2)
    	if len(res) != 2 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top