Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 98 for colName (0.13 sec)

  1. src/syscall/syscall_openbsd.go

    	// Perform lookup via a binary search
    	left := 0
    	right := len(sysctlMib) - 1
    	for {
    		idx := int(uint(left+right) >> 1)
    		switch {
    		case name == sysctlMib[idx].ctlname:
    			return sysctlMib[idx].ctloid, nil
    		case name > sysctlMib[idx].ctlname:
    			left = idx + 1
    		default:
    			right = idx - 1
    		}
    		if left > right {
    			break
    		}
    	}
    	return nil, EINVAL
    }
    
    func direntIno(buf []byte) (uint64, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 10:34:00 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/nodes_test.go

    			continue
    		}
    
    		// verify node position with expected position as indicated by @
    		if pos := int(node.Pos().Col()); pos != index+colbase {
    			t.Errorf("pos error: %s: pos = %d, want %d (%s)", src, pos, index+colbase, test.nodetyp)
    			continue
    		}
    	}
    }
    
    func stripAt(s string) (string, int) {
    	if i := strings.Index(s, "@"); i >= 0 {
    		return s[:i] + s[i+1:], i
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 18:45:06 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/ops.cc

        }
      }
    
      // Form the new shape.
      TensorShape shape{static_cast<int64_t>(v.size())};
      shape.AppendShape(TensorShape{first.tensor.shape()});
    
      Tensor t(first.tensor.dtype(), shape);
    
      // Collate the constituent Tensors.
      size_t offset = 0;
      for (auto const& e : v) {
        Tensor elem = e.tensor;
        if (first.tensor.dtype() == DT_STRING) {
          for (int i = 0; i < elem.NumElements(); ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/scanner_test.go

    		"//go:",
    		"//go :foo",
    		"//go:foo",
    		"//go:foo%bar",
    	} {
    		got := ""
    		var s scanner
    		s.init(strings.NewReader(src), func(_, col uint, msg string) {
    			if col != colbase {
    				t.Errorf("%s: got col = %d; want %d", src, col, colbase)
    			}
    			if msg == "" {
    				t.Errorf("%s: handler called with empty msg", src)
    			}
    			got = msg
    		}, directives)
    
    		s.next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  5. pkg/volume/iscsi/disk_manager.go

    	if b.readOnly {
    		options = append(options, "ro")
    	}
    	if b.iscsiDisk.InitiatorName != "" {
    		// new iface name is <target portal>:<volume name>
    		b.iscsiDisk.Iface = b.iscsiDisk.Portals[0] + ":" + b.iscsiDisk.VolName
    	}
    	globalPDPath := manager.MakeGlobalPDName(*b.iscsiDisk)
    	mountOptions := util.JoinMountOptions(b.mountOptions, options)
    	err = mounter.MountSensitiveWithoutSystemd(globalPDPath, volPath, "", mountOptions, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_block_test.go

    		if err != nil {
    			t.Fatalf("Failed to make a new Mapper: %v", err)
    		}
    
    		path, volName := csiMapper.GetPodDeviceMapPath()
    
    		if tc.path != path {
    			t.Errorf("expecting path %s, got %s", tc.path, path)
    		}
    
    		if tc.specVolumeName != volName {
    			t.Errorf("expecting volName %s, got %s", tc.specVolumeName, volName)
    		}
    	}
    }
    
    func TestBlockMapperSetupDevice(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/language/doc.go

    // More subtly confusing is using the wrong sorting order or casing
    // algorithm for a certain language.
    //
    // All the packages in x/text that provide locale-specific services
    // (e.g. collate, cases) should be initialized with the tag that was
    // obtained at the start of an interaction with the user.
    //
    // Note that Tag that is returned by Match and MatchString may differ from any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/cases/cases.go

    // is stateless and safe to use concurrently by multiple goroutines.
    //
    // Case folding does not normalize the input and may not preserve a normal form.
    // Use the collate or search package for more convenient and linguistically
    // sound comparisons. Use golang.org/x/text/secure/precis for string comparisons
    // where security aspects are a concern.
    func Fold(opts ...Option) Caser {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    			},
    			verify: func(t *testing.T, vols []v1.UniqueVolumeName, volName v1.UniqueVolumeName) {
    				if len(vols) == 0 {
    					t.Fatalf("Request resize for volume, but volume in ASW hasn't been marked as fsResizeRequired")
    				}
    				if len(vols) != 1 {
    					t.Errorf("Some unexpected volumes are marked as fsResizeRequired: %v", vols)
    				}
    				if vols[0] != volName {
    					t.Fatalf("Mark wrong volume as fsResizeRequired: %s", vols[0])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy

    public class ATestClass {
        @Test
        public void ok() {
        }
    }
    
    public class BTestClass {
        @Test
        public void ok() {
        }
    
        @Test
        public void coolName() {
        }
    }
    
    public class ATestClassWithIgnoredMethod {
        @Test
        @Ignore
        public void ignored() {
        }
    }
    
    public class ATestClassWithFailedTestAssumption {
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top