Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,228 for unexpected (0.13 sec)

  1. src/cmd/cgo/internal/swig/testdata/stdio/main.go

    		fatal("x = %d, want 1", x)
    	}
    
    	// Open this file itself and verify that the first few characters are
    	// as expected.
    	f := Fopen("main.go", "r")
    	if f.Swigcptr() == 0 {
    		fatal("fopen failed")
    	}
    	if Fgetc(f) != '/' || Fgetc(f) != '/' || Fgetc(f) != ' ' || Fgetc(f) != 'C' {
    		fatal("read unexpected characters")
    	}
    	if Fclose(f) != 0 {
    		fatal("fclose failed")
    	}
    
    	println("OK")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:07 UTC 2023
    - 975 bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/codehost/vcs.go

    			if err != nil {
    				return nil, vcsErrorf("unexpected revno from bzr log: %q", line)
    			}
    			revno = i
    		case "timestamp":
    			j := strings.Index(val, " ")
    			if j < 0 {
    				return nil, vcsErrorf("unexpected timestamp from bzr log: %q", line)
    			}
    			t, err := time.Parse("2006-01-02 15:04:05 -0700", val[j+1:])
    			if err != nil {
    				return nil, vcsErrorf("unexpected timestamp from bzr log: %q", line)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcshared/testdata/main2.c

        ts.tv_nsec = 10000000;
        nanosleep(&ts, NULL);
      }
    
      if (n < 0) {
        fprintf(stderr, "BUG: failed to read any data from pipe\n");
        return 2;
      }
    
      if (n == 0) {
        fprintf(stderr, "BUG: unexpected EOF\n");
        return 2;
      }
    
      if (n == sizeof buf) {
        n--;
      }
      buf[n] = '\0';
      printf("%s\n", buf);
      return 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomTest.kt

                    error(UnsupportedSyntax(LocalVal)[279..287]
                    error(SyntaxError(Parsing failure, unexpected tokenType in expression: POSTFIX_EXPRESSION)[307..319]
                    error(SyntaxError(Unexpected tokens (use ';' to separate expressions on the same line))[320..320]
                    error(UnsupportedSyntax(UnsupportedThisValue)[326..333]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/IO.kt

     *
     * Always using the same line separator on all systems to allow for reproducible outputs.
     */
    fun Appendable.appendReproducibleNewLine(value: CharSequence = ""): Appendable {
        assert('\r' !in value) {
            "Unexpected line ending in string."
        }
        return append(value).append("\n")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:27 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. src/cmd/distpack/test.go

    			if err != nil {
    				log.Fatalf("checking source archive: %v", err)
    			}
    			if strings.Contains(string(data), "generated by go tool dist; DO NOT EDIT") {
    				log.Fatalf("unexpected source archive file: %s (generated by dist)", f.Name)
    			}
    		}
    	}
    }
    
    func testZip(a *Archive) { test("binary", a, zipRules) }
    func testMod(a *Archive) { test("module", a, modRules) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 22:29:19 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java

        @Override
        int readTrailerWireFormat ( InputStream in, byte[] buffer, int bufferIndex ) throws IOException {
            if ( in.read(buffer, bufferIndex, this.length) != this.length ) {
                throw new IOException("unexpected EOF reading netbios retarget session response");
            }
            int addr = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            new NbtAddress(null, addr, false, NbtAddress.B_NODE);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_find.txt

    ! go mod init
    stderr 'go.mod already exists'
    
    # Module path from Godeps/Godeps.json overrides GOPATH.
    cd $GOPATH/src/example.com/x/y/z
    go mod init
    stderr 'unexpected.com/z'
    rm go.mod
    
    # Empty directory outside GOPATH fails.
    mkdir $WORK/empty
    cd $WORK/empty
    ! go mod init
    stderr 'cannot determine module path for source directory'
    rm go.mod
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:14 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ir/const.go

    	case typ.IsArray() || typ.IsStruct():
    		// TODO(mdempsky): Return a typechecked expression instead.
    		return NewCompLitExpr(pos, OCOMPLIT, typ, nil)
    	}
    
    	base.FatalfAt(pos, "unexpected type: %v", typ)
    	panic("unreachable")
    }
    
    var (
    	intZero     = constant.MakeInt64(0)
    	floatZero   = constant.ToFloat(intZero)
    	complexZero = constant.ToComplex(intZero)
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 18:53:26 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. src/cmd/dist/buildtag.go

    	p := &exprParser{x: x}
    	p.next()
    	v := p.parse(0)
    	if p.t.tok != "end of expression" {
    		panic("unexpected " + p.t.tok)
    	}
    	return bool(v), nil
    }
    
    // parse parses an expression, including binary operators at precedence >= prec.
    func (p *exprParser) parse(prec int) val {
    	if p.t.prefix == nil {
    		panic("unexpected " + p.t.tok)
    	}
    	v := p.t.prefix(p)
    	for p.t.prec >= prec && p.t.infix != nil {
    		t := p.t
    		p.next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 03:35:04 UTC 2021
    - 3K bytes
    - Viewed (0)
Back to top