Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for newEncs (0.12 sec)

  1. cmd/handler-utils.go

    	if contentEnc == "" {
    		return contentEnc
    	}
    	var newEncs []string
    	for _, enc := range strings.Split(contentEnc, ",") {
    		if enc != streamingContentEncoding {
    			newEncs = append(newEncs, enc)
    		}
    	}
    	return strings.Join(newEncs, ",")
    }
    
    func collectInternodeStats(f http.HandlerFunc) http.HandlerFunc {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/tagroot.go

    			leafm = true
    		}
    
    		if len(leavesToAdd)+len(rootsToAdd) == 0 {
    			continue
    		}
    
    		var newLocs []*profile.Location
    		newLocs = append(newLocs, leavesToAdd...)
    		newLocs = append(newLocs, s.Location...)
    		newLocs = append(newLocs, rootsToAdd...)
    		s.Location = newLocs
    	}
    	return
    }
    
    // formatLabelValues returns all the string and numeric labels in Sample, with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/EncodingHelper.java

            if (StringUtil.isBlank(enc)) {
                return defaultEncoding;
            }
    
            final String newEnc = encodingMap.get(toLowerCase(enc));
            if (StringUtil.isBlank(newEnc)) {
                return enc;
            }
            return newEnc;
        }
    
        public void setDefaultEncoding(final String defaultEncoding) {
            this.defaultEncoding = defaultEncoding;
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/runtime/pprof/proto.go

    		funcName := runtime_FrameSymbolName(&frame)
    		funcID := uint64(b.funcs[funcName])
    		if funcID == 0 {
    			funcID = uint64(len(b.funcs)) + 1
    			b.funcs[funcName] = int(funcID)
    			newFuncs = append(newFuncs, newFunc{
    				id:        funcID,
    				name:      funcName,
    				file:      frame.File,
    				startLine: int64(runtime_FrameStartLine(&frame)),
    			})
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  5. src/mdo/model.vm

                Map<Object, InputLocation> newlocs = this.locations != null ? this.locations : Collections.emptyMap();
                Map<Object, InputLocation> oldlocs = this.base != null && this.base.locations != null ? this.base.locations : Collections.emptyMap();
                Map<Object, InputLocation> locations = new HashMap<>();
                locations.put("", newlocs.containsKey("") ? newlocs.get("") : oldlocs.get(""));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 21:28:01 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. pkg/controlplane/controller/systemnamespaces/system_namespaces_controller.go

    	if _, err := c.namespaceLister.Get(ns); err == nil {
    		// the namespace already exists
    		return nil
    	}
    	newNs := &v1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      ns,
    			Namespace: "",
    		},
    	}
    	_, err := c.client.CoreV1().Namespaces().Create(context.TODO(), newNs, metav1.CreateOptions{})
    	if err != nil && errors.IsAlreadyExists(err) {
    		err = nil
    	}
    	return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/controller.go

    		waitForCRD:            waitForCRD,
    	}
    
    	namespaces.AddEventHandler(controllers.EventHandler[*corev1.Namespace]{
    		UpdateFunc: func(oldNs, newNs *corev1.Namespace) {
    			if !labels.Instance(oldNs.Labels).Equals(newNs.Labels) {
    				gatewayController.namespaceEvent(oldNs, newNs)
    			}
    		},
    	})
    
    	if credsController != nil {
    		credsController.AddSecretHandler(gatewayController.secretEvent)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. src/runtime/runtime.go

    	name string
    	inc  atomic.Pointer[func()]
    }
    
    func (g *godebugInc) IncNonDefault() {
    	inc := g.inc.Load()
    	if inc == nil {
    		newInc := godebugNewIncNonDefault.Load()
    		if newInc == nil {
    			return
    		}
    		inc = new(func())
    		*inc = (*newInc)(g.name)
    		if raceenabled {
    			racereleasemerge(unsafe.Pointer(&g.inc))
    		}
    		if !g.inc.CompareAndSwap(nil, inc) {
    			inc = g.inc.Load()
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. pkg/kube/namespace/filter.go

    func (d *discoveryNamespacesFilter) namespaceUpdatedLocked(oldNs, newNs metav1.ObjectMeta) (membershipChanged bool, namespaceAdded bool) {
    	if d.discoveryNamespaces.Contains(oldNs.Name) && !d.isSelectedLocked(newNs.Labels) {
    		d.discoveryNamespaces.Delete(oldNs.Name)
    		return true, false
    	}
    	if !d.discoveryNamespaces.Contains(oldNs.Name) && d.isSelectedLocked(newNs.Labels) {
    		d.discoveryNamespaces.Insert(oldNs.Name)
    		return true, true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 17:12:52 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers.go

    		log.Debugf("Namespace %s added", ns.Name)
    		s.enqueueNamespace(ns)
    
    	case controllers.EventUpdate:
    		newNs := event.New.(*corev1.Namespace)
    		oldNs := event.Old.(*corev1.Namespace)
    
    		if getModeLabel(oldNs.Labels) != getModeLabel(newNs.Labels) {
    			log.Debugf("Namespace %s updated", newNs.Name)
    			s.enqueueNamespace(newNs)
    		}
    	}
    	return nil
    }
    
    func getModeLabel(m map[string]string) string {
    	if m == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top