Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for PA (0.02 sec)

  1. src/image/png/paeth.go

    	// For example, the sample code starts with:
    	//	p := int(a) + int(b) - int(c)
    	//	pa := abs(p - int(a))
    	// but the optimized form uses fewer arithmetic operations:
    	//	pa := int(b) - int(c)
    	//	pa = abs(pa)
    	pc := int(c)
    	pa := int(b) - pc
    	pb := int(a) - pc
    	pc = abs(pa + pb)
    	pa = abs(pa)
    	pb = abs(pb)
    	if pa <= pb && pa <= pc {
    		return a
    	} else if pb <= pc {
    		return b
    	}
    	return c
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

         */
        public Set<String> getRequiredActiveProjectSelectors() {
            return getProjectSelectors(pa -> !pa.optional && pa.active);
        }
    
        /**
         * @return Optional active project selectors, never {@code null}.
         */
        public Set<String> getOptionalActiveProjectSelectors() {
            return getProjectSelectors(pa -> pa.optional && pa.active);
        }
    
        /**
         * @return Required inactive project selectors, never {@code null}.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 7K bytes
    - Viewed (0)
  3. pkg/registry/core/service/portallocator/operation.go

    //
    // /  op.Commit()
    type PortAllocationOperation struct {
    	pa              Interface
    	allocated       []int
    	releaseDeferred []int
    	shouldRollback  bool
    	dryRun          bool
    }
    
    // Creates a portAllocationOperation, tracking a set of allocations & releases
    // If dryRun is specified, never actually allocate or release anything
    func StartOperation(pa Interface, dryRun bool) *PortAllocationOperation {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

         */
        public Set<String> getRequiredActiveProfileIds() {
            return getProfileIds(pa -> !pa.optional && pa.active);
        }
    
        /**
         * @return Optional active profile identifiers, never {@code null}.
         */
        public Set<String> getOptionalActiveProfileIds() {
            return getProfileIds(pa -> pa.optional && pa.active);
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  5. test/fixedbugs/issue4167.go

    package main
    
    type pa []int
    
    type p int
    
    func (this *pa) func1() (v *p, c int) {
    	for _ = range *this {
    		c++
    	}
    	v = (*p)(&c)
    	return
    }
    
    func (this *pa) func2() p {
    	return (*p).func3(this.func1())
    }
    
    func (this *p) func3(f int) p {
    	return *this
    }
    
    func (this *pa) func2dots() p {
    	return (*p).func3(this.func1())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 876 bytes
    - Viewed (0)
  6. internal/s3select/simdj/testdata/parking-citations-10.json.zst

    00:00:00","IssueTime":"2055","RPState":"CA","PlateExpiry":"201503","Make":"NISS","BodyStyle":"PA","Color":"BK","Location":"200 WORLD WAY","Route":"2R2","Agency":2,"ViolationCode":"8939","ViolationDescr":"WHITE CURB","Fine":58,"Latitude":6439997.9,"Longitude":1802686.4} {"Ticket":1104820732,"IssueData":"2015-12-26T00:00:00","IssueTime":"1515","RPState":"CA","PlateExpiry":"","Make":"ACUR","BodyStyle":"PA","Color":"WH","Location":"100 WORLD WAY","Route":"2F11","Agency":2,"ViolationCode":"000","Viol...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 693 bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/expr3.go

    	_ = &a /* ERROR "cannot take address" */ [:10]
    
    	pa := &a
    	_ = pa[9]
    	_ = pa[10 /* ERRORx `index .* out of bounds` */ ]
    	_ = pa[1 /* ERROR "overflows" */ <<100]
    	_ = pa[10:]
    	_ = pa[:10]
    	_ = pa[10:10]
    	_ = pa[11 /* ERRORx `index .* out of bounds` */ :]
    	_ = pa[: 11 /* ERRORx `index .* out of bounds` */ ]
    	_ = pa[: 1 /* ERROR "overflows" */ <<100]
    	_ = pa[:10:10]
    	_ = pa[:11 /* ERRORx `index .* out of bounds` */ :10]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 22:41:49 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  8. test/assign1.go

    	s = s0
    	s = s1 // ERROR "cannot use"
    	s1 = s0
    	s1 = s // ERROR "cannot use"
    
    	pa0 = pa  // ERROR "cannot use|incompatible"
    	pa0 = pa1 // ERROR "cannot use|incompatible"
    	pa = pa0  // ERROR "cannot use|incompatible"
    	pa = pa1  // ERROR "cannot use|incompatible"
    	pa1 = pa0 // ERROR "cannot use|incompatible"
    	pa1 = pa  // ERROR "cannot use|incompatible"
    
    	pb0 = pb  // ERROR "cannot use|incompatible"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 02:19:43 UTC 2012
    - 5.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/build_gcflags_order.txt

    stderr 'compile: -c must be at least 1, got 0'
    
    -- m/go.mod --
    module example.com
    
    go 1.16
    
    -- m/main.go --
    package main
    
    func main() {
        var s = []int{1, 2, 3}
        var pa = (*[2]int)(s[1:])
        println(pa[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 07 22:22:37 UTC 2023
    - 435 bytes
    - Viewed (0)
  10. src/image/png/paeth_test.go

    // It is a straight port of the sample code in the PNG spec, section 9.4.
    func slowPaeth(a, b, c uint8) uint8 {
    	p := int(a) + int(b) - int(c)
    	pa := slowAbs(p - int(a))
    	pb := slowAbs(p - int(b))
    	pc := slowAbs(p - int(c))
    	if pa <= pb && pa <= pc {
    		return a
    	} else if pb <= pc {
    		return b
    	}
    	return c
    }
    
    // slowFilterPaeth is a slow but simple implementation of func filterPaeth.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.2K bytes
    - Viewed (0)
Back to top