Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1611 - 1620 of 1,728 for Interfaces (0.12 sec)

  1. android/guava/src/com/google/common/hash/HashFunction.java

     * however, {@code Object.hashCode} almost always falls short -- hence this library.
     *
     * @author Kevin Bourrillion
     * @since 11.0
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    public interface HashFunction {
      /**
       * Begins a new hash code computation by returning an initialized, stateful {@code Hasher}
       * instance that is ready to receive data. Example:
       *
       * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/HashFunction.java

     * however, {@code Object.hashCode} almost always falls short -- hence this library.
     *
     * @author Kevin Bourrillion
     * @since 11.0
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    public interface HashFunction {
      /**
       * Begins a new hash code computation by returning an initialized, stateful {@code Hasher}
       * instance that is ready to receive data. Example:
       *
       * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            this.indexConfigPath = indexConfigPath;
        }
    
        public interface SearchCondition<B> {
            boolean build(B requestBuilder);
        }
    
        public interface SearchResult<T, B, R> {
            T build(B requestBuilder, long execTime, OptionalEntity<R> response);
        }
    
        public interface EntityCreator<T, R, H> {
            T build(R response, H hit);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  4. cmd/sftp-server.go

    	}
    
    	ldapPolicies, _ := globalIAMSys.PolicyDBGet(lookupResult.NormDN, targetGroups...)
    	if len(ldapPolicies) == 0 {
    		return nil, errSFTPUserHasNoPolicies
    	}
    
    	claims := make(map[string]interface{})
    	for attribKey, attribValue := range lookupResult.Attributes {
    		// we skip multi-value attributes here, as they cannot
    		// be stored in the critical options.
    		if len(attribValue) != 1 {
    			continue
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. cmd/metacache-stream.go

    				return err
    			}
    			if err := w.mw.Flush(); err != nil {
    				return err
    			}
    			return s2w.Close()
    		}
    		return nil
    	}
    }
    
    var s2DecPool = sync.Pool{New: func() interface{} {
    	// Default alloc block for network transfer.
    	return s2.NewReader(nil, s2.ReaderAllocBlock(16<<10))
    }}
    
    // metacacheReader allows reading a cache stream.
    type metacacheReader struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

        private void afterSessionEnd(MavenSession session) throws MavenExecutionException {
            callListeners(session, AbstractMavenLifecycleParticipant::afterSessionEnd);
        }
    
        @FunctionalInterface
        interface ListenerMethod {
            void run(AbstractMavenLifecycleParticipant listener, MavenSession session) throws MavenExecutionException;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      }
    
      private static List<Object> subListCopy(Object[] source, int size) {
        final Object[] copy = new Object[size];
        arraycopy(source, 0, copy, 0, size);
        return asList(copy);
      }
    
      private interface IteratorOperation {
        @Nullable Object execute(Iterator<?> iterator);
      }
    
      /**
       * Apply this method to both iterators and return normally only if both produce the same response.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      }
    
      private static List<Object> subListCopy(Object[] source, int size) {
        final Object[] copy = new Object[size];
        arraycopy(source, 0, copy, 0, size);
        return asList(copy);
      }
    
      private interface IteratorOperation {
        @Nullable Object execute(Iterator<?> iterator);
      }
    
      /**
       * Apply this method to both iterators and return normally only if both produce the same response.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. cmd/admin-handlers-site-replication.go

    	if err := json.NewEncoder(w).Encode(idpSettings); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    }
    
    func parseJSONBody(ctx context.Context, body io.Reader, v interface{}, encryptionKey string) error {
    	data, err := io.ReadAll(body)
    	if err != nil {
    		return SRError{
    			Cause: err,
    			Code:  ErrSiteReplicationInvalidRequest,
    		}
    	}
    	if encryptionKey != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. internal/ringbuffer/ring_buffer.go

    	// ErrWriteOnClosed is returned when write on a closed ringbuffer.
    	ErrWriteOnClosed = errors.New("write on closed ringbuffer")
    )
    
    // RingBuffer is a circular buffer that implement io.ReaderWriter interface.
    // It operates like a buffered pipe, where data written to a RingBuffer
    // and can be read back from another goroutine.
    // It is safe to concurrently read and write RingBuffer.
    type RingBuffer struct {
    	buf       []byte
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top