Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2011 - 2020 of 2,189 for else_ (0.35 seconds)

  1. src/main/java/org/codelibs/core/io/ResourceUtil.java

                final int num = path.split("/").length;
                dir = new File(getFileName(url));
                for (int i = 0; i < num; ++i) {
                    dir = dir.getParentFile();
                }
            } else {
                dir = new File(JarFileUtil.toJarFilePath(url));
            }
            return dir;
        }
    
        /**
         * Converts the resource URL to an external form.
         *
         * @param url
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                this.topLevelProject = projects.stream()
                        .filter(project -> project.isExecutionRoot())
                        .findFirst()
                        .orElse(first);
            } else {
                this.currentProject = new ThreadLocal<>();
                this.topLevelProject = null;
            }
            this.projects = projects;
        }
    
        public ArtifactRepository getLocalRepository() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/pac/PacLogonInfo.java

                // First extra is user if userId is empty
                if (!userId.isEmpty() && !userId.isBlank()) {
                    this.userSid = new SID(domainId, userId);
                } else if (this.extraSids.length > 0) {
                    this.userSid = this.extraSids[0];
                }
                this.groupSid = new SID(domainId, groupId);
    
                // Compute Group IDs with Domain ID to get Group SIDs
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/dependencies/index.md

    You never call those functions directly. They are called by your framework (in this case, **FastAPI**).
    
    With the Dependency Injection system, you can also tell **FastAPI** that your *path operation function* also "depends" on something else that should be executed before your *path operation function*, and **FastAPI** will take care of executing it and "injecting" the results.
    
    Other common terms for this same idea of "dependency injection" are:
    
    * resources
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          @Override
          <R extends Comparable<R>, C extends Comparable<C>, V> Table<R, C, V> create(
              Table<R, C, V> contents) {
            if (contents.isEmpty()) {
              return ImmutableTable.of();
            } else {
              return ArrayTable.create(contents);
            }
          }
        },
        ImmutableTableImpl {
          @Override
          <R extends Comparable<R>, C extends Comparable<C>, V> Table<R, C, V> create(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/Closer.java

          Closeable closeable = stack.removeFirst();
          try {
            closeable.close();
          } catch (Throwable e) {
            if (throwable == null) {
              throwable = e;
            } else {
              suppressor.suppress(closeable, throwable, e);
            }
          }
        }
    
        if (thrown == null && throwable != null) {
          throwIfInstanceOf(throwable, IOException.class);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              FactoryMethodReturnsNullException {
        if (cls.isEnum()) {
          T[] constants = cls.getEnumConstants();
          if (constants != null && constants.length > 0) {
            return constants[0];
          } else {
            return null;
          }
        }
        TypeToken<T> type = TypeToken.of(cls);
        List<ParameterNotInstantiableException> paramErrors = new ArrayList<>();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                if (!exists(sessionId, urlQueue.getUrl()) && !dataService.exists(sessionId, urlQueue.getUrl())) {
                    urlQueue.setSessionId(sessionId);
                    targetList.add(urlQueue);
                } else if (logger.isDebugEnabled()) {
                    logger.debug("Existed URL: Session ID: {}, UrlQueue: {}", sessionId, urlQueue);
                }
            }
            if (!targetList.isEmpty()) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 16.9K bytes
    - Click Count (1)
  9. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                                        concurrentLimiter.recordSuccess("user" + threadId, "192.168.2." + threadId);
                                        localFailures = 0;
                                    }
                                } else {
                                    concurrentLimiter.recordSuccess("user" + threadId, "192.168.2." + threadId);
                                    localFailures = 0; // Reset on success
                                }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  10. cmd/sftp-server-driver.go

    }
    
    func (w *writerAt) WriteAt(b []byte, offset int64) (n int, err error) {
    	w.m.Lock()
    	defer w.m.Unlock()
    
    	if w.nextOffset == offset {
    		n, err = w.w.Write(b)
    		w.nextOffset += int64(n)
    	} else {
    		if offset > w.nextOffset+ftpMaxWriteOffset {
    			return 0, fmt.Errorf("write offset %d is too far ahead of next offset %d", offset, w.nextOffset)
    		}
    		w.buffer[offset] = make([]byte, len(b))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 10 16:35:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
Back to Top