Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 72 for Newlines (0.23 sec)

  1. src/cmd/go/internal/test/test.go

    			norun = "[-fuzz matches more than one fuzz test, won't fuzz]"
    		}
    		if len(out) > 0 && !bytes.HasSuffix(out, []byte("\n")) {
    			// Ensure that the output ends with a newline before the "ok"
    			// line we're about to print (https://golang.org/issue/49317).
    			cmd.Stdout.Write([]byte("\n"))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  2. pkg/apis/admissionregistration/validation/validation.go

    				allErrors = append(allErrors, field.InternalError(fldPath.Child("valueExpression"), result.Error))
    			}
    		}
    	}
    	return allErrors
    }
    
    var newlineMatcher = regexp.MustCompile(`[\n\r]+`) // valid newline chars in CEL grammar
    func hasNewlines(s string) bool {
    	return newlineMatcher.MatchString(s)
    }
    
    // ValidateValidatingAdmissionPolicyBinding validates a ValidatingAdmissionPolicyBinding before create.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/help/helpdoc.go

    import paths, using the custom domain or the known hosting site.
    
    A package statement is said to have an "import comment" if it is immediately
    followed (before the next newline) by a comment of one of these two forms:
    
    	package math // import "path"
    	package math /* import "path" */
    
    The go command will refuse to install a package with an import comment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  4. src/os/os_test.go

    	if _, err := Stat(name); err != nil {
    		t.Skip(err)
    	}
    	data, err := ReadFile(name)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(data) == 0 || data[len(data)-1] != '\n' {
    		t.Fatalf("read %s: not newline-terminated: %q", name, data)
    	}
    }
    
    func TestDirFSReadFileProc(t *testing.T) {
    	t.Parallel()
    
    	fsys := DirFS("/")
    	name := "proc/sys/fs/pipe-max-size"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  5. src/cmd/link/link_test.go

    		if j == -1 {
    			t.Fatalf("host link step not found, output:\n%s", out)
    		}
    		out = out[j+1:]
    		k := bytes.Index(out, []byte("\n"))
    		if k == -1 {
    			t.Fatalf("no newline after host link, output:\n%s", out)
    		}
    		out = out[:k]
    
    		// filter out output file name, which is passed by the go
    		// command and is nondeterministic.
    		fs := bytes.Fields(out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  6. src/cmd/go/alldocs.go

    //		directives whose full original source text (excluding
    //		any trailing spaces and final newline) matches the
    //		expression.
    //
    //	-skip=""
    //		if non-empty, specifies a regular expression to suppress
    //		directives whose full original source text (excluding
    //		any trailing spaces and final newline) matches the
    //		expression. If a directive matches both the -run and
    //		the -skip arguments, it is skipped.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/exec.go

    				default:
    					// Not an escape character after all.
    					flag = append(flag, '\\', c)
    					escaped = false
    					continue
    				}
    			}
    
    			if c == '\n' {
    				// “If a <newline> follows the <backslash>, the shell shall interpret
    				// this as line continuation.”
    			} else {
    				flag = append(flag, c)
    			}
    			escaped = false
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  8. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    1,o=0,u=0,c,f,d,p,m,b,x,y,w,k,S,_,E;function I(q,R){if(i.safe)t+=R,w=t.length-1;else throw i.error("Unclosed "+q,s,o-a,o)}for(;o<n;){switch(c=t.charCodeAt(o),c===O.newline&&(a=o,s+=1),c){case O.space:case O.tab:case O.newline:case O.cr:case O.feed:w=o;do w+=1,c=t.charCodeAt(w),c===O.newline&&(a=w,s+=1);while(c===O.space||c===O.newline||c===O.tab||c===O.cr||c===O.feed);E=O.space,p=s,d=w-a-1,u=w;break;case O.plus:case O.greaterThan:case O.tilde:case O.pipe:w=o;do w+=1,c=t.charCodeAt(w);while(c===O...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
  9. src/cmd/cgo/internal/test/test.go

    	default:
    		abort();
    	}
    }
    
    // issue 29748
    
    typedef struct { char **p; } S29748;
    static int f29748(S29748 *p) { return 0; }
    
    // issue 29781
    // Error with newline inserted into constant expression.
    // Compilation test only, nothing to run.
    
    static void issue29781F(char **p, int n) {}
    #define ISSUE29781C 0
    
    // issue 31093
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        cache.close()
        writeFile(getCleanFile("k1", 0), "A")
        writeFile(getCleanFile("k1", 1), "B")
        filesystem.write(journalFile) {
          writeUtf8(
            // No trailing newline.
            """
            |${DiskLruCache.MAGIC}
            |${DiskLruCache.VERSION_1}
            |100
            |2
            |
            |CLEAN k1 1 1
            """.trimMargin(),
          )
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top