Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for longlit_ (0.17 sec)

  1. test/fixedbugs/issue19632.go

    import "strings"
    
    // Minimized test case from github.com/mvdan/sh/syntax.
    func F() {
    	var _ = []string{
    		strings.Repeat("\n\n\t\t        \n", 10) +
    			"# " + strings.Repeat("foo bar ", 10) + "\n" +
    			strings.Repeat("longlit_", 10) + "\n",
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 19:52:45 UTC 2017
    - 539 bytes
    - Viewed (0)
  2. src/mime/multipart/multipart_test.go

    	}
    	buf.Reset()
    	if _, err := io.Copy(buf, part); err != nil {
    		t.Errorf("part 2 copy: %v", err)
    	}
    	s := buf.String()
    	if len(s) != len(longLine) {
    		t.Errorf("part2 body expected long line of length %d; got length %d",
    			len(longLine), len(s))
    	}
    	if s != longLine {
    		t.Errorf("part2 long body didn't match")
    	}
    
    	// Part3
    	part, err = reader.NextPart()
    	if part == nil || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:36:47 UTC 2022
    - 30.4K bytes
    - Viewed (0)
  3. src/cmd/doc/testdata/pkg.go

    )
    
    const (
    	ConstGroup1 unexportedType = iota
    	ConstGroup2
    	ConstGroup3
    )
    
    const ConstGroup4 ExportedType = ExportedType{}
    
    func newLongLine(ss ...string)
    
    var LongLine = newLongLine(
    	"someArgument1",
    	"someArgument2",
    	"someArgument3",
    	"someArgument4",
    	"someArgument5",
    	"someArgument6",
    	"someArgument7",
    	"someArgument8",
    )
    
    type T2 int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/plugins/form-validator/location.js

    n","pennsylvania","rhode island","south carolina","south dakota","tennessee","texas","utah","vermont","virginia","washington","west virginia","wisconsin","wyoming"],errorMessage:"",errorMessageKey:"badCustomVal"}),a.formUtils.addValidator({name:"longlat",validatorFunction:function(a){var b=/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),\s*[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/;return b.test(a)},errorMessage:"",errorMessageKey:"badCustomVal"});var b=function(b){var c=[];return a.each(b,function...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  5. src/cmd/doc/doc_test.go

    			`var MultiLineVar = map\[struct{ ... }\]struct{ ... }{ ... }`,  // Multi line variable.
    			`func MultiLineFunc\(x interface{ ... }\) \(r struct{ ... }\)`, // Multi line function.
    			`var LongLine = newLongLine\(("someArgument[1-4]", ){4}...\)`,  // Long list of arguments.
    			`type T1 = T2`,                                                 // Type alias
    			`type SimpleConstraint interface{ ... }`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaAccessorsIntegrationTest.kt

                        tasks.register("printStringsAndLongs") {
                            val stringList = strings.toList()
                            val longList = longs.toList()
                            doLast {
                                stringList.forEach { println("string: " + it) }
                                longList.forEach { println("long: " + it) }
                            }
                        }
                        """
                    )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  7. src/archive/tar/writer.go

    		}
    	*/
    	return nil
    }
    
    func (tw *Writer) writeGNUHeader(hdr *Header) error {
    	// Use long-link files if Name or Linkname exceeds the field size.
    	const longName = "././@LongLink"
    	if len(hdr.Name) > nameSize {
    		data := hdr.Name + "\x00"
    		if err := tw.writeRawFile(longName, data, TypeGNULongName, FormatGNU); err != nil {
    			return err
    		}
    	}
    	if len(hdr.Linkname) > nameSize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    		vecs = append(vecs, v)
    	}
    	return vecs
    }
    
    // offs2lohi splits offs into its low and high order bits.
    func offs2lohi(offs int64) (lo, hi uintptr) {
    	const longBits = SizeofLong * 8
    	return uintptr(offs), uintptr(uint64(offs) >> (longBits - 1) >> 1) // two shifts to avoid false positive in vet
    }
    
    func Readv(fd int, iovs [][]byte) (n int, err error) {
    	iovecs := make([]Iovec, 0, minIovec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

      }
    
      @Test
      fun httpWithExcessiveHeaders() {
        val longLine = "HTTP/1.1 200 " + stringFill('O', 256 * 1024) + "K"
        server.protocols = listOf(Protocol.HTTP_1_1)
        server.enqueue(
          MockResponse.Builder()
            .status(longLine)
            .body("I'm not even supposed to be here today.")
            .build(),
        )
        executeSynchronously("/")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top