Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for copyTo (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * @throws SmbException if an error occurs during the copy operation
         */
        public void copyTo(final SmbFile dest) throws SmbException {
            SmbComReadAndX req;
            SmbComReadAndXResponse resp;
            WriterThread w;
            int bsize;
            byte[][] b;
    
            /* Should be able to copy an entire share actually
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                }
    
                dest.clearAttributeCache();
            } catch (SmbException e) {
                throw new CIFSException("Failed to copy resource: " + e.getMessage(), e);
            } catch (Exception e) {
                throw new CIFSException("Unexpected error during recursive copy", e);
            }
        }
    
        /**
         *
         */
        void clearAttributeCache() {
            this.attrExpiration = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          ReferenceEntry<Object, Object> copyTwo = map.copyEntry(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
          assertEquals(hashTwo, copyTwo.getHash());
          assertSame(copyOne, copyTwo.getNext());
          assertSame(valueTwo, copyTwo.getValueReference().get());
          assertConnected(map, copyOne, copyTwo);
        }
      }
    
      private static <K, V> void assertConnected(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    			t.Fatalf("Test %d: Failed to create HTTP request for copy Object: <ERROR> %v", i, err)
    		}
    		// "X-Amz-Copy-Source" header contains the information about the source bucket and the object to copied.
    		if testCase.copySourceHeader != "" {
    			reqV2.Header.Set("X-Amz-Copy-Source", testCase.copySourceHeader)
    		}
    		if testCase.copyModifiedHeader != "" {
    			reqV2.Header.Set("X-Amz-Copy-Source-If-Modified-Since", testCase.copyModifiedHeader)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    	}
    	// Store the preserved compression metadata.
    	maps.Copy(srcInfo.UserDefined, compressMetadata)
    
    	// We need to preserve the encryption headers set in EncryptRequest,
    	// so we do not want to override them, copy them instead.
    	maps.Copy(srcInfo.UserDefined, encMetadata)
    
    	// Ensure that metadata does not contain sensitive information
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    func filterReplicationStatusMetadata(metadata map[string]string) map[string]string {
    	// Copy on write
    	dst := metadata
    	var copied bool
    	delKey := func(key string) {
    		if _, ok := metadata[key]; !ok {
    			return
    		}
    		if !copied {
    			dst = make(map[string]string, len(metadata))
    			maps.Copy(dst, metadata)
    			copied = true
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  7. cmd/server_test.go

    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    	response.Body.Close()
    }
    
    // TestCopyObject - Validates copy object.
    // The following is the test flow.
    // 1. Create bucket.
    // 2. Insert Object.
    // 3. Use "X-Amz-Copy-Source" header to copy the previously created object.
    // 4. Validate the content of copied object.
    func (s *TestSuiteCommon) TestCopyObject(c *check) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    	ctx, cancel := context.WithTimeout(ctx, madmin.MaxClientPerfTimeout)
    	defer cancel()
    	totalRx := int64(0)
    	connectTime := time.Now()
    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		if err != nil && err != io.EOF && err != io.ErrUnexpectedEOF {
    			// would mean the network is not stable. Logging here will help in debugging network issues.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  9. cmd/metrics-v2.go

    		VariableLabels:       make(map[string]string, len(m.VariableLabels)),
    		Histogram:            make(map[string]uint64, len(m.Histogram)),
    	}
    	maps.Copy(metric.StaticLabels, m.StaticLabels)
    	maps.Copy(metric.VariableLabels, m.VariableLabels)
    	maps.Copy(metric.Histogram, m.Histogram)
    	return metric
    }
    
    // Get - returns cached value always upton the configured TTL,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 133.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        private Combiner(boolean allMustSucceed, Iterable<? extends ClosingFuture<?>> inputs) {
          this.allMustSucceed = allMustSucceed;
          this.inputs = ImmutableList.copyOf(inputs);
          for (ClosingFuture<?> input : inputs) {
            input.becomeSubsumedInto(closeables);
          }
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
Back to top