Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 7,388 for returns (2.33 sec)

  1. internal/cachevalue/cache.go

    		// There is a new value, release lock and return it.
    		if v = t.val.Load(); v != nil {
    			return *v, nil
    		}
    	}
    
    	if err := t.update(ctx); err != nil {
    		var empty T
    		return empty, err
    	}
    
    	return *t.val.Load(), nil
    }
    
    // Get will return a cached value or fetch a new one.
    // Tf the Update function returns an error the value is forwarded as is and not cached.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. internal/grid/manager.go

    		return ErrHandlerAlreadyExists
    	}
    	m.handlers.subStreams[subID] = &h
    	// Copy so clients can also pick it up for other subpaths.
    	m.handlers.subStreams[makeZeroSubHandlerID(id)] = &h
    	return nil
    }
    
    // HostName returns the name of the local host.
    func (m *Manager) HostName() string {
    	return m.local
    }
    
    // Targets returns the names of all remote targets.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Nov 12 20:41:41 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        override fun poll(
          timeout: Long,
          unit: TimeUnit,
        ): T? {
          return taskRunner.withLock {
            val waitUntil = nanoTime + unit.toNanos(timeout)
            while (true) {
              val result = poll()
              if (result != null) return@withLock result
              if (nanoTime >= waitUntil) return@withLock null
              val editCountBefore = editCount
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. cmd/jwt.go

    				// return a different error in such a scenario.
    				if u.Credentials.Status == auth.AccountOff {
    					return nil, errAccessKeyDisabled
    				}
    				return nil, errInvalidAccessKeyID
    			}
    			cred := u.Credentials
    			// Expired credentials return error.
    			if cred.IsTemp() && cred.IsExpired() {
    				return nil, errInvalidAccessKeyID
    			}
    			return []byte(cred.SecretKey), nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/ClassIterator.java

        protected final boolean includeObject;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link ClassIterator} for use in a for-each statement.
         *
         * @param clazz the class (must not be {@literal null})
         * @return an {@link Iterable} wrapping a {@link ClassIterator}
         */
        public static Iterable<Class<?>> iterable(final Class<?> clazz) {
            return iterable(clazz, true);
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/ArtifactFilterManager.java

    public interface ArtifactFilterManager {
        /**
         * Returns a filter for core + extension artifacts.
         *
         * @return the artifact filter
         * @deprecated use {@code META-INF/maven/extension.xml} to define artifacts exported by Maven core and plugin
         *             extensions.
         */
        @Deprecated
        ArtifactFilter getArtifactFilter();
    
        /**
         * Returns a filter for only the core artifacts.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Dec 01 19:41:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java

         */
        protected DocumentBuilderFactoryUtil() {
        }
    
        /**
         * Returns a new instance of {@link DocumentBuilderFactory}.
         *
         * @return A new instance of {@link DocumentBuilderFactory}.
         */
        public static DocumentBuilderFactory newInstance() {
            return newInstance(false);
        }
    
        /**
         * Returns a new instance of {@link DocumentBuilderFactory}.
         *
         * @param external
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

        }
    
        /**
         * Returns the <code>SQL</code>.
         *
         * @param cause the underlying exception
         * @return the <code>SQL</code>
         */
        protected static String getSql(final SQLException cause) {
            if (cause instanceof ClSQLException) {
                return ((ClSQLException) cause).getSql();
            }
            return "";
        }
    
        /**
         * Returns the real message.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java

         * @param obj The object to compare.
         * @return true if equal, false otherwise.
         */
        @Override
        public boolean equals(final Object obj) {
            return factory.equals(obj);
        }
    
        /**
         * Returns a string representation of this wrapper.
         * @return A string representation.
         */
        @Override
        public String toString() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.2K bytes
    - Viewed (10)
  10. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

         */
        protected static final String UNI_ENCODING = "UTF-16LE";
    
        private int flags;
    
        /**
         * Returns the flags currently in use for this message.
         *
         * @return An <code>int</code> containing the flags in use for this
         * message.
         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Sets the flags for this message.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top