Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for middle3 (0.15 sec)

  1. src/testing/iotest/reader.go

    			return fmt.Errorf("Seek(%d, 0) from EOF = %d, %v, want %d, nil", middle/2, off, err, middle/2)
    		}
    		data, err = io.ReadAll(r)
    		if err != nil {
    			return fmt.Errorf("ReadAll from offset %d: %v", middle/2, err)
    		}
    		if !bytes.Equal(data, content[middle/2:]) {
    			return fmt.Errorf("ReadAll from offset %d = %q\n\twant %q", middle/2, data, content[middle/2:])
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/DependencyGenerator.groovy

                return false
            }
    
            Integer middle = numberOfProjects / 3
            if (middle == 0) {
                middle = 1
            }
            if (isEven(middle) && isOdd(numberOfProjects)) {
                middle -= 1
            }
            Integer middleInc = 1
            if (isOdd(numberOfProjects)) {
                middleInc = 2
            }
    
            while (middle < numberOfProjects) {
                for (v in layerSizes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  3. src/testing/panic_test.go

    		want: `
    ran inner cleanup 1
    ran middle cleanup 1
    ran outer cleanup
    --- FAIL: TestPanicHelper (N.NNs)
        panic_test.go:NNN: TestPanicHelper
    `,
    	}, {
    		desc:  "subtest panics with middle cleanup panic",
    		flags: []string{"-test_panic_test=TestPanicHelper/1", "-test_panic_cleanup", "-test_panic_cleanup_panic=middle"},
    		want: `
    ran inner cleanup 1
    ran middle cleanup 1
    ran outer cleanup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 16:49:24 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  4. test/slice3err.go

    	_ = array[::k] // ERROR "middle index required in 3-index slice|invalid slice indices"
    	_ = array[i::k] // ERROR "middle index required in 3-index slice|invalid slice indices"
    	_ = array[:j:k]
    	_ = array[i:j:k]
    	
    	_ = slice[:]
    	_ = slice[i:]
    	_ = slice[:j]
    	_ = slice[i:j]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 21:28:48 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/AttributePrecedenceSchemaAttributeMatcherTest.groovy

        def explanationBuilder = Stub(AttributeMatchingExplanationBuilder)
    
        def highest = Attribute.of("highest", String)
        def middle = Attribute.of("middle", String)
        def lowest = Attribute.of("lowest", String)
        // This has no precedence
        def additional = Attribute.of("usage", String)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/match/match_test.go

    				//   15001:
    				//     middle (dest ip):
    				//       fallback:
    				//         inner (src ip):
    				//           fallback: chain
    				inner := NewSourceIP()
    				inner.OnNoMatch = ToChain("chain")
    
    				middle := NewDestinationIP()
    				middle.OnNoMatch = ToMatcher(inner.Matcher)
    
    				root := NewDestinationPort()
    				root.Map["15001"] = ToMatcher(middle.Matcher)
    				return root
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/HierarchicalAttributeContainerTest.groovy

            when:
            middle.attribute(one, "middle")
    
            then:
            chain.getAttribute(one) == "middle"
    
            when:
            primary.attributeProvider(one, Providers.of("primary"))
    
            then:
            chain.getAttribute(one) == "primary"
        }
    
        def "joined containers are equal if their fallbacks and primaryren are equal"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 27 04:00:15 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  8. subprojects/core/src/main/resources/org/gradle/reporting/base-style.css

    #footer {
        margin-top: 100px;
        font-size: 80%;
        white-space: nowrap;
    }
    
    #footer, #footer a {
        color: #a0a0a0;
    }
    
    #line-wrapping-toggle {
        vertical-align: middle;
    }
    
    #label-for-line-wrapping-toggle {
        vertical-align: middle;
    }
    
    ul {
        margin-left: 0;
    }
    
    h1, h2, h3 {
        white-space: nowrap;
    }
    
    h2 {
        font-size: 120%;
    }
    
    ul.tabLinks {
        padding-left: 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 10 15:05:34 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      private M multimap;
    
      protected M multimap() {
        return multimap;
      }
    
      /**
       * @return an array of the proper size with {@code null} as the key of the middle element.
       */
      protected Entry<K, V>[] createArrayWithNullKey() {
        Entry<K, V>[] array = createSamplesArray();
        int nullKeyLocation = getNullLocation();
        Entry<K, V> oldEntry = array[nullKeyLocation];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. test/recover4.go

    // after each modification, the result will be a stale value of n.
    //
    // The test is set up by mmapping a 64 kB block of memory and then
    // unmapping a 16 kB hole in the middle of it. Running memcopy
    // on the resulting slice will fault when it reaches the hole.
    
    package main
    
    import (
    	"log"
    	"runtime/debug"
    	"syscall"
    )
    
    func memcopy(dst, src []byte) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top