Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 205 for sum2 (0.03 sec)

  1. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest.groovy

         -
    
    BUILD SUCCESSFUL"""
        }
    
        def "listsCommonDynamicAvailableValues"() {
            createDirs("sub1", "sub2")
            when:
            run "help", "--task", "hello"
            then:
            output.contains """Detailed task information for hello
    
    Paths
         :sub1:hello
         :sub2:hello
    
    Type
         CustomTask (CustomTask)
    
    Options
         --stringValue     Configures a string value in CustomTask.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. buildscripts/minio-upgrade.sh

    }
    
    verify_checksum_after_heal() {
    	local sum1
    	sum1=$(curl -s "$2" | sha256sum)
    	mc admin heal --json -r "$1" >/dev/null # test after healing
    	local sum1_heal
    	sum1_heal=$(curl -s "$2" | sha256sum)
    
    	if [ "${sum1_heal}" != "${sum1}" ]; then
    		echo "mismatch expected ${sum1_heal}, got ${sum1}"
    		exit 1
    	fi
    }
    
    verify_checksum_mc() {
    	local expected
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/TaskReportTaskIntegrationTest.groovy

            buildFile << multiProjectBuild()
            createDirs("sub1", "sub2")
            settingsFile << "include 'sub1', 'sub2'"
    
            when:
            succeeds TASKS_DETAILED_REPORT_TASK
    
            then:
            output.contains("""
    $helloWorldGroupHeader
    a
    sub1:a
    sub2:a
    """)
            output.contains("""
    $otherGroupHeader
    sub1:b
    sub2:b
    c
    """)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 15:00:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppHelloWorldApp.groovy

    #include "gtest/gtest.h"
    #include "hello.h"
    
    using namespace testing;
    
    TEST(HelloTest, test_sum) {
      ASSERT_TRUE(sum(0, 2) == 2);
    #ifndef ONE_TEST
      ASSERT_TRUE(sum(0, -2) == -2);
      ASSERT_TRUE(sum(2, 2) == 4);
    #endif
    }
    
    int main(int argc, char **argv) {
      testing::InitGoogleTest(&argc, argv);
      return RUN_ALL_TESTS();
    }
                        """),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. src/crypto/internal/boring/hmac.go

    	return h.blockSize
    }
    
    func (h *boringHMAC) Sum(in []byte) []byte {
    	if h.sum == nil {
    		size := h.Size()
    		h.sum = make([]byte, size)
    	}
    	// Make copy of context because Go hash.Hash mandates
    	// that Sum has no effect on the underlying stream.
    	// In particular it is OK to Sum, then Write more, then Sum again,
    	// and the second Sum acts as if the first didn't happen.
    	C._goboringcrypto_HMAC_CTX_init(&h.ctx2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_tidy_compat.txt

    [exec:patch] mv go.mod go.mod.tidyResult
    [exec:patch] mv go.sum go.sum.tidyResult
    [exec:patch] cp go.mod.orig go.mod
    [exec:patch] ! go mod tidy -diff
    [exec:patch] cp stdout diff.patch
    [exec:patch] exec patch -p1 -i diff.patch
    [exec:patch] go mod tidy -diff
    [exec:patch] cmp go.mod go.mod.tidyResult
    [exec:patch] cmp go.sum go.sum.tidyResult
    
    go list -m all
    cmp stdout m_all.txt
    
    go mod edit -go=1.16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. manifests/addons/dashboards/jsonnetfile.lock.json

          "version": "18eb4e529c60ec20ab243e2da3bcb52b2fd0d223",
          "sum": "eyuJ0jOXeA4MrobbNgU4/v5a7ASDHslHZ0eS6hDdWoI="
        },
        {
          "source": {
            "git": {
              "remote": "https://github.com/grafana/grafonnet.git",
              "subdir": "gen/grafonnet-v11.0.0"
            }
          },
          "version": "18eb4e529c60ec20ab243e2da3bcb52b2fd0d223",
          "sum": "6ycXhBvq/k7j01vaNiDSZcVsKikh01pfNH+2oauHgJg="
        },
        {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/StaticVersionComparator.java

                Integer sm1 = SPECIAL_MEANINGS.get(part1.toLowerCase(Locale.US));
                Integer sm2 = SPECIAL_MEANINGS.get(part2.toLowerCase(Locale.US));
                if (sm1 != null) {
                    sm2 = sm2 == null ? 0 : sm2;
                    return sm1 - sm2;
                }
                if (sm2 != null) {
                    return -sm2;
                }
                return part1.compareTo(part2);
            }
            if (i < parts1.length) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. pkg/util/hash/hash.go

    func (i *instance) WriteString(s string) (n int) {
    	n, _ = i.hash.WriteString(s)
    	return
    }
    
    func (i *instance) Sum64() uint64 {
    	return i.hash.Sum64()
    }
    
    func (i *instance) Sum() string {
    	sum := i.hash.Sum(nil)
    	return hex.EncodeToString(sum)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 21 20:24:14 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. src/compress/zlib/reader.go

    			err = io.ErrUnexpectedEOF
    		}
    		z.err = err
    		return n, z.err
    	}
    	// ZLIB (RFC 1950) is big-endian, unlike GZIP (RFC 1952).
    	checksum := binary.BigEndian.Uint32(z.scratch[:4])
    	if checksum != z.digest.Sum32() {
    		z.err = ErrChecksum
    		return n, z.err
    	}
    	return n, io.EOF
    }
    
    // Calling Close does not close the wrapped [io.Reader] originally passed to [NewReader].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top