Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for baseList (0.13 sec)

  1. src/cmd/internal/src/xpos_test.go

    			}
    			xpos = xposWith
    		}
    	}
    
    	if len(tab.baseList) != 1+len(tab.indexMap) { // indexMap omits nil
    		t.Errorf("table length discrepancy: %d != 1+%d", len(tab.baseList), len(tab.indexMap))
    	}
    
    	const wantLen = 4
    	if len(tab.baseList) != wantLen {
    		t.Errorf("got table length %d; want %d", len(tab.baseList), wantLen)
    	}
    
    	if got := tab.XPos(NoPos); got != NoXPos {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. src/cmd/internal/src/xpos.go

    	if base.fileIndex >= 0 {
    		panic("PosBase already registered with a PosTable")
    	}
    
    	if t.indexMap == nil {
    		t.baseList = append(t.baseList, nil)
    		t.indexMap = make(map[*PosBase]int)
    		t.nameMap = make(map[string]int)
    	}
    
    	i := len(t.baseList)
    	t.indexMap[base] = i
    	t.baseList = append(t.baseList, base)
    
    	fileIndex, ok := t.nameMap[base.absFilename]
    	if !ok {
    		fileIndex = len(t.nameMap)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. tools/docker-builder/common.go

    				}
    			}
    		}
    	}
    	return tags
    }
    
    func createArgs(args Args, target string, variant string, architecture string) map[string]string {
    	baseDist := variant
    	if baseDist == DefaultVariant {
    		baseDist = PrimaryVariant
    	}
    	m := map[string]string{
    		// Base version defines the tag of the base image to use. Typically, set in the Makefile and not overridden.
    		"BASE_VERSION": args.BaseVersion,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 13:23:41 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. tests/embedded_struct_test.go

    		ReadOnly *bool
    	}
    
    	type BasePost struct {
    		Id    int64
    		Title string
    		URL   string
    		ReadOnly
    	}
    
    	type Author struct {
    		ID    string
    		Name  string
    		Email string
    	}
    
    	type HNPost struct {
    		BasePost
    		Author  `gorm:"EmbeddedPrefix:user_"` // Embedded struct
    		Upvotes int32
    	}
    
    	type EngadgetPost struct {
    		BasePost BasePost `gorm:"Embedded"`
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/internal/zstd/fse.go

    		}
    		if e.sym < literalLengthOffset {
    			be.baseline = uint32(e.sym)
    			be.basebits = 0
    		} else {
    			if e.sym > 35 {
    				return r.makeError(off, "FSE baseline symbol overflow")
    			}
    			idx := e.sym - literalLengthOffset
    			basebits := literalLengthBase[idx]
    			be.baseline = basebits & 0xffffff
    			be.basebits = uint8(basebits >> 24)
    		}
    		baselineTable[i] = be
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:44:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  6. platforms/software/resources/src/main/java/org/gradle/internal/verifier/HttpRedirectVerifierFactory.java

                return NoopHttpRedirectVerifier.instance;
            } else {
                // Verify that the base URL is secure now.
                if (baseHost != null && !GUtil.isSecureUrl(baseHost)) {
                    insecureBaseHost.run();
                }
    
                // Verify that any future redirect locations are secure.
                // Lambda will be called back on for every redirect in the chain.
                return redirectLocations ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitIntegrationTest.groovy

                }
                test {
                    ${configureTestFramework}
                    exclude '**/BaseTest.*'
                }
            """.stripIndent()
            file('src/test/java/org/gradle/BaseTest.java') << """
                package org.gradle;
                ${testFrameworkImports}
                public class BaseTest {
                    @Test public void ok() { }
                }
            """.stripIndent()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseIncrementalCompilationAfterFailureIntegrationTest.groovy

                }
            """
            file("src/test/groovy/BaseTest.groovy").text = """
                import spock.lang.Specification
                class BaseTest extends Specification {}
            """
            file("src/test/groovy/UnrelatedClass.groovy").text = "class UnrelatedClass {}"
            file("src/test/groovy/AppTest.groovy").text = """
                class AppTest extends BaseTest {
                    def "some test"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. src/internal/zstd/block.go

    		ptliteral := &r.seqTables[seqLiteral][literalState]
    
    		add, err := rbr.val(ptoffset.basebits)
    		if err != nil {
    			return err
    		}
    		offset := ptoffset.baseline + add
    
    		add, err = rbr.val(ptmatch.basebits)
    		if err != nil {
    			return err
    		}
    		match := ptmatch.baseline + add
    
    		add, err = rbr.val(ptliteral.basebits)
    		if err != nil {
    			return err
    		}
    		literal := ptliteral.baseline + add
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 17:57:43 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  10. pilot/pkg/model/config_test.go

    			// this should replicate real-world scenarios of mixed specific and wildcard hosts
    			specific := host.Name(strconv.Itoa(i) + "." + bm.baseHost)
    			// generate correct wildcard hosts, one of these will match
    			wildcard := host.Name("*." + bm.baseHost + "." + strconv.Itoa(i))
    
    			bm.specificHostsMap[specific] = struct{}{}
    			bm.wildcardHostsMap[wildcard] = struct{}{}
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 20 12:54:10 UTC 2023
    - 19K bytes
    - Viewed (0)
Back to top