Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1431 - 1440 of 2,395 for batch (0.02 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java

      }
    
      public void testContains_wrongType() {
        try {
          assertFalse(
              "contains(wrongType) should return false or throw", collection.contains(WrongType.VALUE));
        } catch (ClassCastException tolerated) {
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java

            // for declaration like @Parameter( property = "config.property" )
            // the value will contain ${config.property}
    
            try {
                return expressionEvaluator.evaluate(strValue) != null;
            } catch (ExpressionEvaluationException e) {
                // not important
                // will be reported during Mojo fields populate
            }
    
            // fallback - in case of error in expressionEvaluator
            return false;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java

            configurator = null;
        }
    
        private Xpp3Dom toConfig(String xml) {
            try {
                return new Xpp3Dom(XmlService.read(new StringReader("<configuration>" + xml + "</configuration>")));
            } catch (XMLStreamException e) {
                throw new IllegalArgumentException(e);
            }
        }
    
        @Test
        void testMinimal() throws BeanConfigurationException {
            SomeBean bean = new SomeBean();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. tests/test_dependency_after_yield_streaming.py

    
    def test_stream_session():
        response = client.get("/stream-session")
        assert response.text == "foobarbaz"
    
    
    def test_broken_session_data():
        with pytest.raises(ValueError, match="Session closed"):
            client.get("/broken-session-data")
    
    
    def test_broken_session_data_no_raise():
        client = TestClient(app, raise_server_exceptions=False)
        response = client.get("/broken-session-data")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

            DEFAULT_PASSWORD = Config.getProperty("jcifs.smb1.smb.client.password", null);
            String defaultWorkstation = null;
            try {
                defaultWorkstation = NbtAddress.getLocalHost().getHostName();
            } catch (final UnknownHostException ex) {}
            DEFAULT_WORKSTATION = defaultWorkstation;
            LM_COMPATIBILITY = Config.getInt("jcifs.smb1.smb.lmCompatibility", 3);
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java

                tempFile.setWritable(true, true);
                try (final FileOutputStream fos = new FileOutputStream(tempFile)) {
                    CopyUtil.copy(is, fos);
                }
            } catch (final Exception e) {
                FileUtil.deleteInBackground(tempFile); // clean up
                throw new CrawlingAccessException("Could not read a response body: " + responseData.getUrl(), e);
            }
            return tempFile;
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/lifecycle/MojoExecutionXPathContainer.java

            return context.getValue(expression) != null;
        }
    
        public Object getValue(String expression) {
            try {
                return context.getValue(expression);
            } catch (JXPathNotFoundException e) {
                return null;
            }
        }
    
        public boolean xPathExpressionEqualsValue(String expression, String value) {
            return context.getValue(expression) != null
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                            throw new SmbUnsupportedOperationException("Server does not support NTLM authentication");
                        }
                    }
                }
            } catch (SmbException e) {
                throw e;
            } catch (IOException e1) {
                log.debug("Ignoring invalid initial token", e1);
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

         */
        @Override
        public List<Pattern> getIncludeUrlPatternList(final String sessionId) {
            try {
                return includeFilterCache.get(sessionId);
            } catch (final ExecutionException e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        /**
         * Gets the list of exclude URL patterns for the specified session.
         *
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 9K bytes
    - Click Count (0)
  10. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

            .eventListenerFactory(loggingEventListenerFactory)
            .build()
        try {
          client.newCall(request().build()).execute()
          fail<Any>()
        } catch (expected: UnknownHostException) {
        }
        logRecorder
          .assertLogMatch(Regex("""callStart: Request\{method=GET, url=$url\}"""))
          .assertLogMatch(Regex("""proxySelectStart: $url"""))
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top