Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 687 for isInitialized (0.28 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel_test.go

    		hic := &headerInterceptingConn{initializableConn: testConnConstructor}
    		_, err := hic.Write([]byte(responseHeaders))
    		require.NoError(t, err)
    		assert.True(t, hic.initialized, "successfully parsed http response headers")
    		assert.Equal(t, expectedResponseHeaders, testConnConstructor.resp.Header)
    		assert.Equal(t, "101 Switching Protocols", testConnConstructor.resp.Status)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 02:21:50 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. test/codegen/issue66585.go

    // license that can be found in the LICENSE file.
    
    package p
    
    var x = func() int {
    	n := 0
    	f(&n)
    	return n
    }()
    
    func f(p *int) {
    	*p = 1
    }
    
    var y = 1
    
    // z can be static initialized.
    //
    // amd64:-"MOVQ"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:12:59 UTC 2024
    - 336 bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Reflection.java

      }
    
      /**
       * Ensures that the given classes are initialized, as described in <a
       * href="http://java.sun.com/docs/books/jls/third_edition/html/execution.html#12.4.2">JLS Section
       * 12.4.2</a>.
       *
       * <p>WARNING: Normally it's a smell if a class needs to be explicitly initialized, because static
       * state hurts system maintainability and testability. In cases when you have no choice while
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/Reflection.java

      }
    
      /**
       * Ensures that the given classes are initialized, as described in <a
       * href="http://java.sun.com/docs/books/jls/third_edition/html/execution.html#12.4.2">JLS Section
       * 12.4.2</a>.
       *
       * <p>WARNING: Normally it's a smell if a class needs to be explicitly initialized, because static
       * state hurts system maintainability and testability. In cases when you have no choice while
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  5. tests/upsert_test.go

    	}
    
    	if user1.Name != "find or init" || user1.ID != 0 || user1.Age != 33 {
    		t.Errorf("user should be initialized with search value")
    	}
    
    	DB.Where(User{Name: "find or init", Age: 33}).FirstOrInit(&user2)
    	if user2.Name != "find or init" || user2.ID != 0 || user2.Age != 33 {
    		t.Errorf("user should be initialized with search value")
    	}
    
    	DB.FirstOrInit(&user3, map[string]interface{}{"name": "find or init 2"})
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  6. src/runtime/rt0_linux_ppc64le.s

    	// In a statically linked binary, the stack contains argc,
    	// argv as argc string pointers followed by a NULL, envv as a
    	// sequence of string pointers followed by a NULL, and auxv.
    	// The TLS pointer should be initialized to 0.
    	//
    	// In an ELFv2 compliant dynamically linked binary, R3 contains argc,
    	// R4 contains argv, R5 contains envp, R6 contains auxv, and R13
    	// contains the TLS pointer.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. pkg/kubelet/util/manager/watch_based_manager.go

    type cacheStore struct {
    	cache.Store
    	lock        sync.Mutex
    	initialized bool
    }
    
    func (c *cacheStore) Replace(list []interface{}, resourceVersion string) error {
    	c.lock.Lock()
    	defer c.lock.Unlock()
    	err := c.Store.Replace(list, resourceVersion)
    	if err != nil {
    		return err
    	}
    	c.initialized = true
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/sys/cpu/cpu_aix.go

    )
    
    func archInit() {
    	impl := getsystemcfg(_SC_IMPL)
    	if impl&_IMPL_POWER8 != 0 {
    		PPC64.IsPOWER8 = true
    	}
    	if impl&_IMPL_POWER9 != 0 {
    		PPC64.IsPOWER8 = true
    		PPC64.IsPOWER9 = true
    	}
    
    	Initialized = true
    }
    
    func getsystemcfg(label int) (n uint64) {
    	r0, _ := callgetsystemcfg(label)
    	n = uint64(r0)
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 605 bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultUserInputReceiver.java

                throw new IllegalStateException("User input has not been initialized.");
            }
            return userInput;
        }
    
        @Override
        public void dispatchTo(UserInputReceiver userInput) {
            if (!delegate.compareAndSet(null, userInput)) {
                throw new IllegalStateException("User input has already been initialized.");
            }
        }
    
        @Override
        public void stopDispatching() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/internal/cpu/cpu_arm64_hwcap.go

    // license that can be found in the LICENSE file.
    
    //go:build arm64 && linux
    
    package cpu
    
    import _ "unsafe" // for linkname
    
    // HWCap may be initialized by archauxv and
    // should not be changed after it was initialized.
    //
    // Other widely used packages
    // access HWCap using linkname as well, most notably:
    //   - github.com/klauspost/cpuid/v2
    //
    // Do not remove or change the type signature.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top