Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1951 - 1960 of 2,145 for else_ (0.04 sec)

  1. 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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        CacheTesting.checkValidState(cache);
      }
    
      /**
       * Tests that when a single entry exceeds the segment's max weight, the new entry is immediately
       * evicted and nothing else.
       */
      public void testEviction_maxWeight_entryTooBig() {
        CountingRemovalListener<Integer, Integer> removalListener = countingRemovalListener();
        IdentityLoader<Integer> loader = identityLoader();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/Kerb5Authenticator.java

                        log.debug("Falling back to NTLM authentication");
                        return super.createContext(tc, targetDomain, host, initialToken, doSigning);
                    }
                    else if ( !foundKerberos ) {
                        throw new SmbUnsupportedOperationException("Server does not support kerberos authentication");
                    }
                }
            }
            catch ( SmbException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (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
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:18:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    return session;
                }
                newSession = new DefaultRepositorySystemSession(session);
            } else {
                newSession = new DefaultRepositorySystemSession(h -> false); // no close handle used
            }
    
            final LocalRepositoryManager llrm =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. 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))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

            case CrudMode.EDIT:
                final String docId;
                if (form.doc != null) {
                    docId = (String) form.doc.get(fessConfig.getIndexFieldDocId());
                } else {
                    docId = null;
                }
                if (StringUtil.isNotBlank(docId)) {
                    return searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. common/config/.golangci.yml

          - name: increment-decrement
          - name: var-naming
          - name: package-comments
          - name: range
          - name: receiver-naming
          - name: indent-error-flow
          - name: superfluous-else
          - name: modifies-parameter
          - name: unreachable-code
          - name: struct-tag
          - name: constant-logical-expr
          - name: bool-literal-in-expr
          - name: redefines-builtin-id
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        @Override
        public void setResolveInDfs ( boolean resolve ) {
            if ( resolve ) {
                addFlags2(SmbConstants.FLAGS2_RESOLVE_PATHS_IN_DFS);
            }
            else {
                remFlags2(SmbConstants.FLAGS2_RESOLVE_PATHS_IN_DFS);
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#isResolveInDfs()
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  10. 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 = Lists.newArrayList();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top