Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 65 for setEtag (0.23 sec)

  1. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3Resource.java

                    lastModified.getTime(),
                    getContentLength(),
                    s3Object.getObjectMetadata().getContentType(),
                    s3Object.getObjectMetadata().getETag(),
                    null); // Passing null for sha1 - TODO - consider using the etag which is an MD5 hash of the file (when less than 5Gb)
        }
    
        @Override
        public void close() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/c/kernels/summary_op.cc

      // Copy tags and values into summary protobuf
      for (int i = 0; i < TF_TensorElementCount(params.tags); ++i) {
        tensorflow::Summary::Value* v = s.add_value();
        const tensorflow::tstring& Ttags_i = tags_array[i];
        v->set_tag(Ttags_i.data(), Ttags_i.size());
        v->set_simple_value(static_cast<float>(values_array[i]));
      }
      TF_Tensor* summary_tensor =
          TF_AllocateOutput(ctx, 0, TF_ExpectedOutputDataType(ctx, 0), nullptr, 0,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. platforms/software/resources/src/main/java/org/gradle/internal/resource/metadata/ExternalResourceMetaData.java

         *
         * @return The entity tag, or null if there was no advertised or suitable etag.
         */
        @Nullable
        String getEtag();
    
        /**
         * The advertised sha-1 of the external resource.
         *
         * This should only be collected if it is very cheap to do so. For example, some HTTP servers send an
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/S3ClientIntegrationTest.groovy

            metadata.getContentLength() == 0
            metadata.getETag() ==~ /\w{32}/
    
            when:
            server.stubGetFile(file, "/${bucketName}/maven/release/$FILE_NAME")
    
            then:
            S3Object object = s3Client.getResource(uri)
            IoActions.withResource(object, {
                object.metadata.getContentLength() == fileContents.length()
                object.metadata.getETag() ==~ /\w{32}/
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. src/cmd/internal/goobj/objfile_test.go

    	// Write a symbol, a relocation, and an aux info.
    	var buf bytes.Buffer
    	w := dummyWriter(&buf)
    
    	var s Sym
    	s.SetABI(1)
    	s.SetType(uint8(objabi.STEXT))
    	s.SetFlag(0x12)
    	s.SetSiz(12345)
    	s.SetAlign(8)
    	s.Write(w)
    
    	var r Reloc
    	r.SetOff(12)
    	r.SetSiz(4)
    	r.SetType(uint16(objabi.R_ADDR))
    	r.SetAdd(54321)
    	r.SetSym(SymRef{11, 22})
    	r.Write(w)
    
    	var a Aux
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:22:12 UTC 2022
    - 3K bytes
    - Viewed (0)
  6. operator/pkg/manifest/shared.go

    	}
    	return ret
    }
    
    // getPV returns the path and value components for the given set flag string, which must be in path=value format.
    func getPV(setFlag string) (path string, value string) {
    	pv := strings.Split(setFlag, "=")
    	if len(pv) != 2 {
    		return setFlag, ""
    	}
    	path, value = strings.TrimSpace(pv[0]), strings.TrimSpace(pv[1])
    	return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

        protected int result = 0;
    
        public boolean isFlagSet(int flag) {
            return (flags & flag) == flag;
        }
        public void unsetFlag(int flag) {
            flags &= ~flag;
        }
        public void setFlag(int flag) {
            flags |= flag;
        }
        public DcerpcException getResult() {
            if (result != 0)
                return new DcerpcException(result);
            return null;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

         * <code>NTLMSSP_NEGOTIATE_OEM</code>).
         * @param value Indicates whether to set (<code>true</code>) or
         * clear (<code>false</code>) the specified flag.
         */
        public void setFlag(int flag, boolean value) {
            setFlags(value ? (getFlags() | flag) :
                    (getFlags() & (0xffffffff ^ flag)));
        }
    
        static int readULong(byte[] src, int index) {
            return (src[index] & 0xff) |
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  9. cmd/iam.go

    		return nil
    	}
    
    	// Notify all other MinIO peers to delete policy
    	for _, nerr := range globalNotificationSys.DeletePolicy(ctx, policyName) {
    		if nerr.Err != nil {
    			logger.GetReqInfo(ctx).SetTags("peerAddress", nerr.Host.String())
    			iamLogIf(ctx, nerr.Err)
    		}
    	}
    
    	return nil
    }
    
    // InfoPolicy - returns the policy definition with some metadata.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  10. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3ResourceConnector.java

                    objectMetadata.getLastModified().getTime(),
                    objectMetadata.getContentLength(),
                    objectMetadata.getContentType(),
                    objectMetadata.getETag(),
                    null); // Passing null for sha1 - TODO - consider using the etag which is an MD5 hash of the file (when less than 5Gb)
            } finally {
                discardEmptyContentAndClose(s3Object);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top