Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1331 - 1340 of 1,902 for Try (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

       * and returns it.
       */
      fun <T : ConnectionEvent> removeUpToEvent(eventClass: Class<T>): T {
        val fullEventSequence = eventSequence.toList()
        try {
          while (true) {
            val event = takeEvent()
            if (eventClass.isInstance(event)) {
              return eventClass.cast(event)
            }
          }
        } catch (e: NoSuchElementException) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                dstIndex += passwordLength;
            } else {
                // no password in tree connect
                dst[dstIndex++] = (byte) 0x00;
            }
            dstIndex += writeString(path, dst, dstIndex);
            try {
                System.arraycopy(service.getBytes("ASCII"), 0, dst, dstIndex, service.length());
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

     */
    public class SmbComWriteTest {
    
        /**
         * Helper method to get private field value using reflection
         */
        private Object getFieldValue(Object obj, String fieldName) {
            try {
                Field field = SmbComWrite.class.getDeclaredField(fieldName);
                field.setAccessible(true);
                return field.get(obj);
            } catch (Exception e) {
    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)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

            return (s != null ? (s.startsWith("${") && s.endsWith("}") ? null : s) : null);
        }
    
        public static Properties getBuildProperties() {
            Properties properties = new Properties();
    
            try (InputStream resourceAsStream =
                    MavenCli.class.getResourceAsStream("/org/apache/maven/messages/build.properties")) {
    
                if (resourceAsStream != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java

                xml.append("    </build>\n");
            }
    
            xml.append("</project>\n");
            return xml.toString();
        }
    
        public Document buildDocument() {
            try {
                String xmlContent = build();
                Editor editor = new Editor(Document.of(xmlContent));
                return editor.document();
            } catch (Exception e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * trouble, please let us know: https://github.com/google/guava/issues/new
       */
      @IgnoreJRERequirement
      public NullPointerTester() {
        try {
          /*
           * Converter.apply has a non-nullable parameter type but doesn't throw for null arguments. For
           * more information, see the comments in that class.
           *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  7. guava-gwt/pom.xml

                      </fileset>
                    </copy>
                  </target>
                </configuration>
              </execution>
            </executions>
          </plugin>
          <!-- TODO(cpovirk): We really should try tbroyer's plugin instead of this legacy one. -->
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>gwt-maven-plugin</artifactId>
            <version>${gwt-maven-plugin.version}</version>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 12 15:19:17 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SID.java

        /**
         * Well known SID: CREATOR_OWNER
         */
        public static SID CREATOR_OWNER = null;
    
        /**
         * Well known SID: SYSTEM
         */
        public static SID SYSTEM = null;
    
        static {
            try {
                EVERYONE = new SID("S-1-1-0");
                CREATOR_OWNER = new SID("S-1-3-0");
                SYSTEM = new SID("S-1-5-18");
            } catch (final SmbException se) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsThumbnailQueueBhv.java

            return ThumbnailQueueDbm.getInstance();
        }
    
        @Override
        protected <RESULT extends ThumbnailQueue> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsRoleBhv.java

        public RoleDbm asDBMeta() {
            return RoleDbm.getInstance();
        }
    
        @Override
        protected <RESULT extends Role> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setName(DfTypeUtil.toString(source.get("name")));
                return updateEntity(source, result);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top