Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 987 for Tconstants (0.23 sec)

  1. test/const4.go

    // license that can be found in the LICENSE file.
    
    // Test len constants and non-constants, https://golang.org/issue/3244.
    
    package main
    
    var b struct {
    	a [10]int
    }
    
    var m map[string][20]int
    
    var s [][30]int
    
    const (
    	n1 = len(b.a)
    	n2 = len(m[""])
    	n3 = len(s[10])
    )
    
    // Non-constants (see also const5.go).
    var (
    	n4 = len(f())
    	n5 = len(<-c)
    	n6 = cap(g())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 11 14:36:33 UTC 2015
    - 1.3K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/server_test.go

    	pod, err = fakeClientSet.CoreV1().Pods("test").Get(fakeCtx, "test", metav1.GetOptions{})
    	assert.NoError(t, err)
    	assert.Equal(t, len(pod.Annotations), 1)
    	assert.Equal(t, pod.Annotations[constants.AmbientRedirection], constants.AmbientRedirectionEnabled)
    }
    
    func TestMeshDataplaneAddsAnnotationOnAddWithPartialError(t *testing.T) {
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/BadWordService.java

        }
    
        public void store(final BadWord badWord) {
    
            badWordBhv.insertOrUpdate(badWord, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
        public void delete(final BadWord badWord) {
    
            badWordBhv.delete(badWord, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
        protected void setupListCondition(final BadWordCB cb, final BadWordPager badWordPager) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. pkg/test/framework/components/ambient/waypoint.go

    		"--namespace",
    		ns.Name(),
    		"--name",
    		name,
    		"--for",
    		constants.AllTraffic,
    	})
    	if err != nil {
    		return nil, err
    	}
    
    	cls := ctx.Clusters().Default()
    	// Find the Waypoint pod and service, and start forwarding a local port.
    	fetchFn := testKube.NewSinglePodFetch(cls, ns.Name(), fmt.Sprintf("%s=%s", constants.GatewayNameLabel, name))
    	pods, err := testKube.WaitUntilPodsAreReady(fetchFn)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

            duplicateHostBhv.insertOrUpdate(duplicateHost, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void delete(final DuplicateHost duplicateHost) {
    
            duplicateHostBhv.delete(duplicateHost, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public List<DuplicateHost> getDuplicateHostList() {
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java

            relatedQueryBhv.insertOrUpdate(relatedQuery, op -> op.setRefreshPolicy(Constants.TRUE));
            ComponentUtil.getRelatedQueryHelper().update();
        }
    
        public void delete(final RelatedQuery relatedQuery) {
    
            relatedQueryBhv.delete(relatedQuery, op -> op.setRefreshPolicy(Constants.TRUE));
            ComponentUtil.getRelatedQueryHelper().update();
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/dependencies/interface.go

    	"io"
    
    	"istio.io/istio/tools/istio-iptables/pkg/constants"
    )
    
    // Dependencies is used as abstraction for the commands used from the operating system
    type Dependencies interface {
    	// Run runs a command
    	Run(cmd constants.IptablesCmd, iptVer *IptablesVersion, stdin io.ReadSeeker, args ...string) error
    	// RunQuietlyAndIgnore runs a command quietly and ignores errors
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 17:46:23 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

    package org.codelibs.fess.app.service;
    
    import java.util.List;
    
    import javax.annotation.Resource;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.pager.DataConfigPager;
    import org.codelibs.fess.es.config.cbean.DataConfigCB;
    import org.codelibs.fess.es.config.exbhv.DataConfigBhv;
    import org.codelibs.fess.es.config.exentity.DataConfig;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

    import java.util.Date;
    import java.util.List;
    
    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.curl.CurlResponse;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.dict.DictionaryException;
    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.KuromojiCSVUtil;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/LabelTypeService.java

    package org.codelibs.fess.app.service;
    
    import java.util.List;
    
    import javax.annotation.Resource;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.pager.LabelTypePager;
    import org.codelibs.fess.es.config.cbean.LabelTypeCB;
    import org.codelibs.fess.es.config.exbhv.LabelTypeBhv;
    import org.codelibs.fess.es.config.exentity.LabelType;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top