Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 2,607 for object2 (2.33 sec)

  1. docs/en/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial007.py hl[2,14] *}
    
    #### Using `StreamingResponse` with file-like objects { #using-streamingresponse-with-file-like-objects }
    
    If you have a file-like object (e.g. the object returned by `open()`), you can create a generator function to iterate over that file-like object.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/ByteEncodable.java

    import jcifs.Encodable;
    
    /**
     * Interface for objects that can be encoded to byte arrays.
     * Provides standardized method for converting objects to their binary representation.
     *
     * @author mbechler
     */
    public class ByteEncodable implements Encodable {
    
        private final byte[] bytes;
        private final int off;
        private final int len;
    
        /**
         * Constructs a ByteEncodable object wrapping a byte array segment.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        @Override
        public void clear() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int count(@Nullable Object element) {
          for (Entry<E> entry : entrySet()) {
            if (Objects.equals(entry.getElement(), element)) {
              return entry.getCount();
            }
          }
          return 0;
        }
    
        @Override
        public int add(E element, int occurrences) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. cmd/erasure.go

    // NewNSLock - initialize a new namespace RWLocker instance.
    func (er erasureObjects) NewNSLock(bucket string, objects ...string) RWLocker {
    	return er.nsMutex.NewNSLock(er.getLockers, bucket, objects...)
    }
    
    // Shutdown function for object storage interface.
    func (er erasureObjects) Shutdown(ctx context.Context) error {
    	// Add any object layer shutdown activities here.
    	closeStorageDisks(er.getDisks()...)
    	return nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

        public int hashCode() {
            return this.fileLocator.hashCode();
        }
    
        /**
         * Tests to see if two <code>SmbFile</code> objects are equal. Two
         * SmbFile objects are equal when they reference the same SMB
         * resource. More specifically, two <code>SmbFile</code> objects are
         * equals if their server IP addresses are equal and the canonicalized
         * representation of their URLs, minus authentication parameters, are
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

            getSet().hashCode());
      }
    
      /**
       * Returns the {@link Method} instances for the test methods in this class which call {@code
       * hashCode()} on the set values so that set tests on unhashable objects can suppress it with
       * {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method[] getHashCodeMethods() {
        return new Method[] {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. cmd/background-heal-ops.go

    )
    
    // healTask represents what to heal along with options
    //
    //	path: '/' =>  Heal disk formats along with metadata
    //	path: 'bucket/' or '/bucket/' => Heal bucket
    //	path: 'bucket/object' => Heal object
    type healTask struct {
    	bucket    string
    	object    string
    	versionID string
    	opts      madmin.HealOpts
    	// Healing response will be sent here
    	respCh chan healResult
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

    import org.apache.maven.api.Service;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Generic interface to read/write objects to/from XML.
     *
     * @param <T> the object type to read/write
     * @since 4.0.0
     */
    @Experimental
    public interface XmlFactory<T> extends Service {
    
        @Nonnull
        default T read(@Nonnull Path path) throws XmlReaderException {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

                }
                return new ByteArrayOutputStream();
            }
        }
    
        /**
         * Creates an OutputStream from a ToXContent object with the specified media type.
         *
         * @param xContent the content object to convert
         * @param mediaType the media type for the output
         * @return an OutputStream containing the converted content
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                        final ResultData resultData = transformer.transform(responseData);
                        final Object rawData = resultData.getRawData();
                        if (rawData != null) {
                            @SuppressWarnings("unchecked")
                            final Map<String, Object> responseDataMap = (Map<String, Object>) rawData;
                            mergeResponseData(dataMap, responseDataMap);
                        } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top