Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for bgetc (0.05 sec)

  1. src/cmd/link/internal/ld/lib.go

    	pkg := objabi.PathToPrefix(lib.Pkg)
    
    	eof := f.Offset() + length
    	start := f.Offset()
    	c1 := bgetc(f)
    	c2 := bgetc(f)
    	c3 := bgetc(f)
    	c4 := bgetc(f)
    	f.MustSeek(start, 0)
    
    	unit := &sym.CompilationUnit{Lib: lib}
    	lib.Units = append(lib.Units, unit)
    
    	magic := uint32(c1)<<24 | uint32(c2)<<16 | uint32(c3)<<8 | uint32(c4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/swig/testdata/stdio/main.go

    	}
    
    	// 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")
    }
    
    func fatal(f string, args ...any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:07 UTC 2023
    - 975 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/swig/testdata/stdio/main.swig

    	memcpy($1, $input.p, $input.n);
    	$1[$input.n] = '\0';
    %}
    %typemap(freearg) const char * %{
    	free($1);
    %}
    
    FILE *fopen(const char *name, const char *mode);
    int fclose(FILE *);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:07 UTC 2023
    - 563 bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/CyclicalManagedTypeIntegrationTest.groovy

                interface A {
                    String getName()
                    void setName(String name)
    
                    B getB()
                }
    
                @Managed
                interface B {
                    C getC()
                }
    
                @Managed
                interface C {
                    A getA()
                    void setA(A a)
                }
    
                class RulePlugin extends RuleSource {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/ModelDslRuleDetectionIntegrationSpec.groovy

                }
    
                @Managed
                interface A extends Item {
                    B getB()
                }
    
                @Managed
                interface B extends Item {
                    C getC()
                }
    
                @Managed
                interface C extends Item {
                    D getD()
                }
    
                @Managed
                interface D extends Item {
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

            A1 getA();
    
            B1 getB();
    
            C1 getC();
    
            D1 getD();
        }
    
        @Managed
        interface B1 {
            A1 getA();
    
            B1 getB();
    
            C1 getC();
    
            D1 getD();
        }
    
        @Managed
        interface C1 {
            A1 getA();
    
            B1 getB();
    
            C1 getC();
    
            D1 getD();
        }
    
        @Managed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  7. src/encoding/xml/xml.go

    func (d *Decoder) space() {
    	for {
    		b, ok := d.getc()
    		if !ok {
    			return
    		}
    		switch b {
    		case ' ', '\r', '\n', '\t':
    		default:
    			d.ungetc(b)
    			return
    		}
    	}
    }
    
    // Read a single byte.
    // If there is no byte to read, return ok==false
    // and leave the error in d.err.
    // Maintain line number.
    func (d *Decoder) getc() (b byte, ok bool) {
    	if d.err != nil {
    		return 0, false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            map.put("d", 1.4);
            final HogeDto hoge = new HogeDto();
            BeanUtil.copyMapToBean(map, hoge);
            assertThat(hoge.getA(), is("A"));
            assertThat(hoge.isB(), is(true));
            assertThat(hoge.getC(), is(3));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopyBeanToBean() throws Exception {
            final SrcBean src = new SrcBean();
            src.aaa = "aaa";
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

        abstract boolean isSupportsBuildOperations()
    
        abstract DomainObjectCollection<T> getContainer()
    
        abstract T getA()
    
        abstract T getB()
    
        abstract T getC()
    
        abstract <S extends T> S getD()
    
        Class<T> getType() {
            return a.class
        }
    
        @SuppressWarnings("GrUnnecessaryPublicModifier")
        public <S extends T> Class<S> getOtherType() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
Back to top