Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,271 for namesz (0.12 sec)

  1. test/fixedbugs/issue10607a.go

    			continue
    		}
    
    		for len(d) > 0 {
    			namesz := f.ByteOrder.Uint32(d)
    			descsz := f.ByteOrder.Uint32(d[4:])
    			typ := f.ByteOrder.Uint32(d[8:])
    
    			an := (namesz + 3) &^ 3
    			ad := (descsz + 3) &^ 3
    
    			if int(12+an+ad) > len(d) {
    				fmt.Fprintf(os.Stderr, "note section %d too short for header (%d < 12 + align(%d,4) + align(%d,4))\n", i, len(d), namesz, descsz)
    				break
    			}
    
    			// 3 == NT_GNU_BUILD_ID
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 07 14:00:27 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/buildid_linux.go

    				continue sections
    			}
    
    			namesz := f.ByteOrder.Uint32(d)
    			descsz := f.ByteOrder.Uint32(d[4:])
    			typ := f.ByteOrder.Uint32(d[8:])
    
    			an := (namesz + 3) &^ 3
    			ad := (descsz + 3) &^ 3
    
    			if int(12+an+ad) > len(d) {
    				t.Logf("note section %d too short for header (%d < 12 + align(%d,4) + align(%d,4))", i, len(d), namesz, descsz)
    				continue sections
    			}
    
    			// 3 == NT_GNU_BUILD_ID
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    		} else if err != nil {
    			return nil, err
    		}
    		namesz := order.Uint32(noteHeader[0:4])
    		descsz := order.Uint32(noteHeader[4:8])
    		typ := order.Uint32(noteHeader[8:12])
    
    		if uint64(namesz) > uint64(maxNoteSize) {
    			return nil, fmt.Errorf("note name too long (%d bytes)", namesz)
    		}
    		var name string
    		if namesz > 0 {
    			// Documentation differs as to whether namesz is meant to include the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/elf.go

    // Create a duplicate if one already exists with that name.
    func elfshnamedup(name string) *ElfShdr {
    	for i := 0; i < nelfstr; i++ {
    		if name == elfstr[i].s {
    			off := elfstr[i].off
    			return newElfShdr(int64(off))
    		}
    	}
    
    	Errorf(nil, "cannot find elf name %s", name)
    	errorexit()
    	return nil
    }
    
    func elfshalloc(sect *sym.Section) *ElfShdr {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  5. pkg/config/host/names.go

    //	Names(["foo.com","*.net"]).Intersection(Names(["*.com","bar.net"])) = Names(["foo.com","bar.net"])
    //	Names(["foo.com","*.net"]).Intersection(Names(["*.bar.net"]))       = Names(["*.bar.net"])
    //	Names(["foo.com"]).Intersection(Names(["bar.com"]))                 = Names([])
    //	Names([]).Intersection(Names(["bar.com"])                           = Names([])
    func (h Names) Intersection(other Names) Names {
    	result := make(Names, 0, len(h))
    	for _, hHost := range h {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 01 19:19:22 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/Names.java

    import org.apache.commons.lang.StringUtils;
    
    public abstract class Names {
    
        public static Names of(String name) {
            if (name.equals("main")) {
                return new Main();
            }
            return new Other(name, name);
        }
    
        public static Names of(String name, String baseName) {
            return new Other(name, baseName);
        }
    
        public abstract Names append(String suffix);
    
        /**
         * The raw name.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/s390x/anamesz.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package s390x
    
    var cnamesz = []string{
    	"NONE",
    	"REG",
    	"FREG",
    	"VREG",
    	"AREG",
    	"ZCON",
    	"SCON",
    	"UCON",
    	"ADDCON",
    	"ANDCON",
    	"LCON",
    	"DCON",
    	"SACON",
    	"LACON",
    	"DACON",
    	"SBRA",
    	"LBRA",
    	"SAUTO",
    	"LAUTO",
    	"ZOREG",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 04:57:30 UTC 2016
    - 505 bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/names/names.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package names
    
    const (
    	PrioritySort                    = "PrioritySort"
    	DefaultBinder                   = "DefaultBinder"
    	DefaultPreemption               = "DefaultPreemption"
    	DynamicResources                = "DynamicResources"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 14:11:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/modifiers/Names.java

    import com.google.common.base.Joiner;
    
    import java.util.Locale;
    
    class Names {
        static String displayNameFor(Enum<?> value) {
            String[] parts = value.name().toLowerCase(Locale.US).split("_");
            return Joiner.on(' ').join(parts);
        }
    
        static String idFor(Enum<?> value) {
            String[] parts = value.name().toLowerCase(Locale.US).split("_");
            return Joiner.on('-').join(parts);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/scope_test.cc

      EXPECT_EQ(names2[2], "linear_2/c1");
      EXPECT_EQ(names2[3], "linear_2/mul_1");
      EXPECT_EQ(names2[4], "linear_2");
    
      const auto names3 = LinearOp(root.WithOpName("c"));
    
      EXPECT_EQ(names3[0], "c/mul");
      EXPECT_EQ(names3[1], "c/bias_add");
      EXPECT_EQ(names3[2], "c/c1");
      EXPECT_EQ(names3[3], "c/mul_1");
      EXPECT_EQ(names3[4], "c");
    }
    
    TEST(ScopeTest, SingleUseScope) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 08:17:37 UTC 2019
    - 5.5K bytes
    - Viewed (0)
Back to top