Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for foldName (0.34 sec)

  1. src/go/types/typeset.go

    // LookupMethod returns the index of and method with matching package and name, or (-1, nil).
    func (s *_TypeSet) LookupMethod(pkg *Package, name string, foldCase bool) (int, *Func) {
    	return methodIndex(s.methods, pkg, name, foldCase)
    }
    
    func (s *_TypeSet) String() string {
    	switch {
    	case s.IsEmpty():
    		return "∅"
    	case s.IsAll():
    		return "𝓤"
    	}
    
    	hasMethods := len(s.methods) > 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        String oldName = Thread.currentThread().getName();
        renamingExecutor.execute(
            new Runnable() {
              @Override
              public void run() {
                assertEquals("FooBar", Thread.currentThread().getName());
              }
            });
        assertEquals(oldName, Thread.currentThread().getName());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  3. pkg/registry/rbac/rest/storage_rbac.go

    	for oldName, newName := range clusterRolesToAggregate {
    		_, err := clusterRoleClient.ClusterRoles().Get(context.TODO(), newName, metav1.GetOptions{})
    		if err == nil {
    			continue
    		}
    		if !apierrors.IsNotFound(err) {
    			return err
    		}
    
    		existingRole, err := clusterRoleClient.ClusterRoles().Get(context.TODO(), oldName, metav1.GetOptions{})
    		if apierrors.IsNotFound(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 03:25:19 UTC 2022
    - 18.5K bytes
    - Viewed (0)
  4. src/cmd/gofmt/gofmt.go

    			if err := writeFile(filename, src, res, perm, info.Size()); err != nil {
    				return err
    			}
    		}
    		if *doDiff {
    			newName := filepath.ToSlash(filename)
    			oldName := newName + ".orig"
    			r.Write(diff.Diff(oldName, src, newName, res))
    		}
    	}
    
    	if !*list && !*write && !*doDiff {
    		_, err = r.Write(res)
    	}
    
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/regexp/syntax/parse_test.go

    	{`[[:upper:]]`, `cc{0x41-0x5a 0x61-0x7a 0x17f 0x212a}`},
    	{`[[:lower:]]`, `cc{0x41-0x5a 0x61-0x7a 0x17f 0x212a}`},
    }
    
    func TestParseFoldCase(t *testing.T) {
    	testParseDump(t, foldcaseTests, FoldCase)
    }
    
    var literalTests = []parseTest{
    	{"(|)^$.[*+?]{5,10},\\", "str{(|)^$.[*+?]{5,10},\\}"},
    }
    
    func TestParseLiteral(t *testing.T) {
    	testParseDump(t, literalTests, Literal)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:02:30 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        String oldName = Thread.currentThread().getName();
        renamingExecutor.execute(
            new Runnable() {
              @Override
              public void run() {
                assertEquals("FooBar", Thread.currentThread().getName());
              }
            });
        assertEquals(oldName, Thread.currentThread().getName());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  7. src/regexp/syntax/regexp.go

    		// according to whether (?i) is active.
    		// If literal is not fold-sensitive, return 0, 0.
    		for _, r := range re.Rune {
    			if minFold <= r && r <= maxFold && unicode.SimpleFold(r) != r {
    				if re.Flags&FoldCase != 0 {
    					return flagI, 0
    				} else {
    					return 0, flagI
    				}
    			}
    		}
    		return 0, 0
    
    	case OpCharClass:
    		// If literal is fold-sensitive, return 0, flagI - (?i) has been compiled out.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:51 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller.go

    	prevSvcName := prevEndpointSlice.Labels[discovery.LabelServiceName]
    	if svcName != prevSvcName {
    		logger.Info("LabelServiceName changed", "labelServiceName", discovery.LabelServiceName, "oldName", prevSvcName, "newName", svcName, "endpointSlice", klog.KObj(endpointSlice))
    		c.queueEndpointsForEndpointSlice(endpointSlice)
    		c.queueEndpointsForEndpointSlice(prevEndpointSlice)
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 23:18:31 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  9. src/regexp/exec_test.go

    				// extended regexp (what we support)
    			case 'L':
    				// literal
    				pattern = QuoteMeta(pattern)
    			}
    
    			for _, c := range flag {
    				switch c {
    				case 'i':
    					syn |= syntax.FoldCase
    				}
    			}
    
    			re, err := compile(pattern, syn, true)
    			if err != nil {
    				if shouldCompile {
    					t.Errorf("%s:%d: %#q did not compile", file, lineno, pattern)
    				}
    				continue Testing
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    	expectNoDiff(t, "incorrect first page", []example.Pod{*preset[0].storedObj}, out.Items)
    
    	continueFromSecondItem := out.Continue
    
    	// update /second/bar
    	oldName := preset[2].obj.Name
    	newPod := &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: oldName,
    			Labels: map[string]string{
    				"state": "new",
    			},
    		},
    	}
    	if err := store.GuaranteedUpdate(ctx, preset[2].key, preset[2].storedObj, false, nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top