Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 160 for setRef (0.14 sec)

  1. src/log/slog/internal/buffer/buffer.go

    	// To reduce peak allocation, return only smaller buffers to the pool.
    	const maxBufferSize = 16 << 10
    	if cap(*b) <= maxBufferSize {
    		*b = (*b)[:0]
    		bufPool.Put(b)
    	}
    }
    
    func (b *Buffer) Reset() {
    	b.SetLen(0)
    }
    
    func (b *Buffer) Write(p []byte) (int, error) {
    	*b = append(*b, p...)
    	return len(p), nil
    }
    
    func (b *Buffer) WriteString(s string) (int, error) {
    	*b = append(*b, s...)
    	return len(s), nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 13:57:53 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescSyntheticJavaPropertySymbol.kt

            get() = withValidityAssertion { descriptor.setter != null }
    
        override val setter: KaPropertySetterSymbol?
            get() = withValidityAssertion {
                if (!descriptor.isVar) {
                    return null
                }
    
                val setter = descriptor.setter ?: return KaFe10DescDefaultPropertySetterSymbol(descriptor, analysisContext)
                KaFe10DescPropertySetterSymbol(setter, analysisContext)
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go

    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    	msghdr.Iovlen = int32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/PropertyAccessorType.java

    /**
     * Distinguishes "get" getters, "is" getters and setters from non-property methods.
     *
     * Generally follows the JavaBean conventions, with 2 exceptions: is methods can return `Boolean` (in addition to `boolean`) and setter methods can return non-void values.
     *
     * This is essentially a superset of the conventions supported by Java, Groovy and Kotlin.
     */
    public enum PropertyAccessorType {
        IS_GETTER(2) {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescSyntheticJavaPropertySymbolForOverride.kt

            get() = withValidityAssertion { descriptor.setter != null }
    
        override val setter: KaPropertySetterSymbol?
            get() = withValidityAssertion {
                if (!descriptor.isVar) {
                    return null
                }
    
                val setter = descriptor.setter ?: return KaFe10DescDefaultPropertySetterSymbol(descriptor, analysisContext)
                KaFe10DescPropertySetterSymbol(setter, analysisContext)
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go

    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    	msghdr.Iovlen = int32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    func (d *PtraceIoDesc) SetLen(length int) {
    	d.Len = uint64(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/classpath/BasicCallInterceptionTest.groovy

            "normal setter"       | "call site" | "setTestString(String)"                       | { it.testString = "value" }          | false
            "boolean setter"      | "call site" | "setTestFlag(boolean)"                        | { it.testFlag = true }               | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:44:54 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go

    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint32(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (msghdr *Msghdr) SetIovlen(length int) {
    	msghdr.Iovlen = int32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    func (d *PtraceIoDesc) SetLen(length int) {
    	d.Len = uint32(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. src/syscall/syscall_darwin_amd64.go

    	k.Ident = uint64(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. src/syscall/syscall_darwin_arm64.go

    	k.Ident = uint64(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top