Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for emptyString (0.19 sec)

  1. src/strings/clone_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package strings_test
    
    import (
    	"strings"
    	"testing"
    	"unsafe"
    )
    
    var emptyString string
    
    func TestClone(t *testing.T) {
    	var cloneTests = []string{
    		"",
    		strings.Clone(""),
    		strings.Repeat("a", 42)[:0],
    		"short",
    		strings.Repeat("a", 42),
    	}
    	for _, input := range cloneTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 17:24:17 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/syscall/asm_plan9_386.s

    	INT	$64
    	CALL	runtime·exitsyscall(SB)
    	MOVL	sysargs-144(SP), AX
    	MOVL	AX, errbuf-148(SP)
    	CALL	runtime·gostring(SB)
    	LEAL	str-144(SP), SI
    	JMP	copyresult3
    
    ok3:
    	CALL	runtime·exitsyscall(SB)
    	LEAL	·emptystring(SB), SI
    
    copyresult3:
    	LEAL	err+24(FP), DI
    
    	CLD
    	MOVSL
    	MOVSL
    
    	RET
    
    TEXT	·Syscall6(SB),NOSPLIT,$148-44
    	NO_LOCAL_POINTERS
    	CALL	runtime·entersyscall(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 03 15:28:51 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  3. src/syscall/asm_plan9_amd64.s

    	MOVQ	AX, errbuf-168(SP)
    	CALL	runtime·gostring(SB)
    	LEAQ	str-160(SP), SI
    	JMP	copyresult3
    
    ok3:
    	CALL	runtime·exitsyscall(SB) // call via ABI wrapper, ensuring ABIInternal fixed registers are set
    	LEAQ	·emptystring(SB), SI
    
    copyresult3:
    	LEAQ	err+48(FP), DI
    
    	CLD
    	MOVSQ
    	MOVSQ
    
    	RET
    
    TEXT	·Syscall6(SB),NOSPLIT,$168-88
    	NO_LOCAL_POINTERS
    	CALL	runtime·entersyscall<ABIInternal>(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 01:29:17 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. src/syscall/asm_plan9_arm.s

    	MOVM.IA	[R2-R4], (R1)
    	MOVW	trap+0(FP), R0	// syscall num
    	SWI		$0
    	MOVW	$0, R2
    	MOVW	$r1+16(FP), R3
    	MOVM.IA	[R0,R2], (R3)
    	CMP		$-1, R0
    	B.EQ	syscallerr
    	BL		runtime·exitsyscall(SB)
    	MOVW	$·emptystring+0(SB), R2
    	B		syscallok
    syscallerr:
    	MOVW	$errbuf-128(SP), R2
    	MOVW	$128, R3
    	MOVM.IA	[R2,R3], (R1)
    	MOVW	$SYS_ERRSTR, R0
    	SWI		$0
    	BL		runtime·exitsyscall(SB)
    	BL		runtime·gostring(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 08 14:57:01 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGDryRunFilteringIntegrationTest.groovy

            run "dryRunTest", "test"
    
            then:
            testResult.testClass("FooTest").assertStderr(Matchers.containsText("Run foo!"))
            dryRunTestResult.testClass("BarTest").assertStderr(IsEmptyString.emptyString())
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. dbflute_fess/dfprop/conditionBeanMap.dfprop

    #
    # property-type: String, Number, Date, OrderBy, ...
    # condition-key: NotEqual, GreaterThan, LessThan, GreaterEqual, LessEqual
    #              , InScope, NotInScope, PrefixSearch, LikeSearch, NotLikeSearch
    #              , EmptyString, FromTo, DateFromTo, RangeOf, ...
    #              , (and prefix '!' means excluding, '%' means reviving)
    # table: table name (hint) or $$ALL$$
    # column: column name (hint) or $$CommonColumn$$ or $$VersionNo$$
    #
    # Example:
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 4K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestFilteringIntegrationTest.groovy

            result.testClass("org.gradle.FooTest").assertTestOutcomes(testOutcome, testName)
            if (dryRun) {
                result.testClassByXml("org.gradle.FooTest").assertStderr(Matchers.emptyString())
            } else {
                result.testClassByXml("org.gradle.FooTest").assertStderr(Matchers.containsString("ran FooTest.${testName}!"))
            }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  8. src/syscall/syscall_plan9.go

    	}
    	return false
    }
    
    func (e ErrorString) Temporary() bool {
    	return e == EINTR || e == EMFILE || e.Timeout()
    }
    
    func (e ErrorString) Timeout() bool {
    	return e == EBUSY || e == ETIMEDOUT
    }
    
    var emptystring string
    
    // A Note is a string describing a process note.
    // It implements the os.Signal interface.
    type Note string
    
    func (n Note) Signal() {}
    
    func (n Note) String() string {
    	return string(n)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/net/mail/message_test.go

    			[]*Address{
    				{
    					Name:    `Micro`,
    					Address: "micro@µ.example.com",
    				},
    			},
    		},
    		// Issue 14866
    		{
    			`"" <emptystring@example.com>`,
    			[]*Address{
    				{
    					Name:    "",
    					Address: "emptystring@example.com",
    				},
    			},
    		},
    		// CFWS
    		{
    			`<******@****.***> (CFWS (cfws))  (another comment)`,
    			[]*Address{
    				{
    					Name:    "",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  10. src/go/constant/value.go

    func MakeBool(b bool) Value { return boolVal(b) }
    
    // MakeString returns the [String] value for s.
    func MakeString(s string) Value {
    	if s == "" {
    		return &emptyString // common case
    	}
    	return &stringVal{s: s}
    }
    
    var emptyString stringVal
    
    // MakeInt64 returns the [Int] value for x.
    func MakeInt64(x int64) Value { return int64Val(x) }
    
    // MakeUint64 returns the [Int] value for x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
Back to top