Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3191 - 3200 of 6,702 for If (0.01 seconds)

  1. internal/amztime/parse.go

    }
    
    // ParseHeader parses http.TimeFormat with an acceptable
    // extension for http.TimeFormat - return time might be zero
    // if the timeStr is invalid.
    func ParseHeader(timeStr string) (time.Time, error) {
    	for _, dateFormat := range httpTimeFormats {
    		t, err := time.Parse(dateFormat, timeStr)
    		if err == nil {
    			return t, nil
    		}
    	}
    	return time.Time{}, ErrMalformedDate
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java

            return new EncryptContext(
                    invokerRequest, (EncryptOptions) invokerRequest.options().orElse(null));
        }
    
        @Override
        protected void lookup(EncryptContext context) throws Exception {
            if (context.goals == null) {
                super.lookup(context);
                context.goals = context.lookup.lookupMap(Goal.class);
            }
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

                if (context.options().goals().isEmpty()) {
                    return badGoalsErrorMessage("No goals specified.", context);
                }
    
                String goalName = context.options().goals().get().get(0);
                Goal goal = context.goals.get(goalName);
                if (goal == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.tree;
    
    import jcifs.Configuration;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

        @Override
        public void addRepository(final Repository repository, boolean replace) throws InvalidRepositoryException {
            if (session.isIgnoreArtifactDescriptorRepositories()) {
                return;
            }
    
            if (!repositoryIds.add(repository.getId())) {
                if (!replace) {
                    return;
                }
    
                removeMatchingRepository(repositories, repository.getId());
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

            do {
                final FileBothDirectoryInfo cur = createFileInfo();
                if (cur == null) {
                    break;
                }
                cur.decode(buffer, bufferIndex, bufferLength);
                infos.add(cur);
                final int nextEntryOffset = cur.getNextEntryOffset();
                if (nextEntryOffset <= 0) {
                    break;
                }
                bufferIndex += nextEntryOffset;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Synchronized.java

          Collection<E> collection, @Nullable Object mutex) {
        if (collection instanceof SortedSet) {
          return sortedSet((SortedSet<E>) collection, mutex);
        }
        if (collection instanceof Set) {
          return set((Set<E>) collection, mutex);
        }
        if (collection instanceof List) {
          return list((List<E>) collection, mutex);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  8. docs/LICENSE

    Your exercise of the Licensed Rights is expressly made subject to the
    following conditions.
    
      a. Attribution.
    
           1. If You Share the Licensed Material (including in modified
              form), You must:
    
                a. retain the following if it is supplied by the Licensor
                   with the Licensed Material:
    
                     i. identification of the creator(s) of the Licensed
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 10 16:50:06 GMT 2021
    - 18.2K bytes
    - Click Count (0)
  9. .github/workflows/people.yml

          debug_enabled:
            description: Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)
            required: false
            default: "false"
    
    jobs:
      job:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        permissions:
          contents: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  10. fastapi/concurrency.py

    @asynccontextmanager
    async def contextmanager_in_threadpool(
        cm: AbstractContextManager[_T],
    ) -> AsyncGenerator[_T, None]:
        # blocking __exit__ from running waiting on a free thread
        # can create race conditions/deadlocks if the context manager itself
        # has its own internal pool (e.g. a database connection pool)
        # to avoid this we let __exit__ run without a capacity limit
        # since we're creating a new limiter for each call, any non-zero limit
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top