Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 155 for EOF (0.03 sec)

  1. docs/iam/opa.md

    ```sh
    cat > example.rego <<EOF
    package httpapi.authz
    
    import input
    
    default allow = false
    
    # Allow the root user to perform any action.
    allow {
     input.owner == true
    }
    
    # All other users may do anything other than call PutObject
    allow {
     input.action != "s3:PutObject"
     input.owner == false
    }
    EOF
    ```
    
    Then load the policy via OPA's REST API.
    
    ```
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. src/bufio/scan.go

    	return &Scanner{
    		r:            r,
    		split:        ScanLines,
    		maxTokenSize: MaxScanTokenSize,
    	}
    }
    
    // Err returns the first non-EOF error that was encountered by the [Scanner].
    func (s *Scanner) Err() error {
    	if s.err == io.EOF {
    		return nil
    	}
    	return s.err
    }
    
    // Bytes returns the most recent token generated by a call to [Scanner.Scan].
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/ASN1Util.java

            //
            if (tagNo == 0x1f)
            {
                int b = s.read();
                if (b < 31)
                {
                    if (b < 0)
                    {
                        throw new EOFException("EOF found inside tag value.");
                    }
                    throw new IOException("corrupted stream - high tag number < 31 found");
                }
    
                tagNo = b & 0x7f;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/RandomAccessFileTest.java

                    fail("Unexpected EOF");
                }
    
                byte verify[] = new byte[read];
                ReadWriteTest.randBytes(r, verify);
                byte actual[] = Arrays.copyOfRange(buffer, 0, read);
    
                assertArrayEquals("Data matches at offset " + p, actual, verify);
    
                p += read;
            }
            assertEquals("Expecting EOF", -1, is.read(buffer, 0, 1));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  5. ci/official/utilities/generate_index_html.sh

    # Generates a handy index.html with a bunch of Kokoro links for GitHub
    # presubmits.
    # Usage: generate_index_html.sh /path/to/output/index.html
    
    cat > "$1" <<EOF
    <html>
    <head>
    <title>$(basename "$KOKORO_JOB_NAME")</title>
    </head>
    <body>
    <h1>TensorFlow Job Logs and Links</h1>
    <h2>Job Details</h2>
    <ul>
    <li>Job name: $KOKORO_JOB_NAME</li>
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Sep 29 20:26:13 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. internal/etag/reader.go

    // MD5 checksum of the read content as ETag.
    //
    // Optionally, a Reader can also verify that
    // the computed ETag matches an expected value.
    // Therefore, it compares both ETags once the
    // underlying io.Reader returns io.EOF.
    // If the computed ETag does not match the
    // expected ETag then Read returns a VerifyError.
    //
    // Reader implements the Tagger interface.
    type Reader struct {
    	src io.Reader
    
    	md5      hash.Hash
    	checksum ETag
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. internal/s3select/jstream/scanner.go

    		defer func() {
    			atomic.StoreInt64(&sr.end, rpos)
    			close(sr.fillReady)
    		}()
    
    		for range sr.fillReq {
    		scan:
    			n, err := r.Read(sr.nbuf[:])
    
    			if n == 0 {
    				switch err {
    				case io.EOF: // reader is exhausted
    					return
    				case nil: // no data and no error, retry fill
    					goto scan
    				default: // unexpected reader error
    					sr.readerErr = err
    					return
    				}
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    	value, err := strconv.ParseFloat(str, 64)
    	if err != nil {
    		p.errorf("%s", err)
    	}
    	return value
    }
    
    // EOF represents the end of input.
    var EOF = lex.Make(scanner.EOF, "EOF")
    
    func (p *Parser) next() lex.Token {
    	if !p.more() {
    		return EOF
    	}
    	tok := p.input[p.inputPos]
    	p.inputPos++
    	return tok
    }
    
    func (p *Parser) back() {
    	if p.inputPos == 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/lex/lex.go

    func IsRegisterShift(r ScanToken) bool {
    	return ROT <= r && r <= LSH // Order looks backwards because these are negative.
    }
    
    func (t ScanToken) String() string {
    	switch t {
    	case scanner.EOF:
    		return "EOF"
    	case scanner.Ident:
    		return "identifier"
    	case scanner.Int:
    		return "integer constant"
    	case scanner.Float:
    		return "float constant"
    	case scanner.Char:
    		return "rune constant"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. docs/bucket/versioning/DESIGN.md

    | xlHeader  | [4]byte     | `'X', 'L', '2', ' '`
    | xlVersion | [4]byte     | `'1', ' ', ' ', ' '`
    | xlMetaV2  | msgp object | All versions as single messagepack object
    | [EOF] | |
    
    ### v1.1+
    
    Version 1.1 added inline data, which will be placed after the metadata.
    
    Therefore, the metadata is wrapped as a binary array for easy skipping.
    
    | Entry          | Encoding       | Content
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 5.8K bytes
    - Viewed (0)
Back to top