Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 329 for isInitialized (0.47 sec)

  1. cmd/bucket-metadata-sys.go

    				wait() // wait to proceed to next entry.
    			}
    		}
    		t.Reset(bucketMetadataRefresh)
    	}
    }
    
    // Initialized indicates if bucket metadata sys is initialized atleast once.
    func (sys *BucketMetadataSys) Initialized() bool {
    	sys.RLock()
    	defer sys.RUnlock()
    
    	return sys.initialized
    }
    
    // Loads bucket metadata for all buckets into BucketMetadataSys.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/runtime/os_darwin.go

    	"internal/abi"
    	"unsafe"
    )
    
    type mOS struct {
    	initialized bool
    	mutex       pthreadmutex
    	cond        pthreadcond
    	count       int
    }
    
    func unimplemented(name string) {
    	println(name, "not implemented")
    	*(*int)(unsafe.Pointer(uintptr(1231))) = 1231
    }
    
    //go:nosplit
    func semacreate(mp *m) {
    	if mp.initialized {
    		return
    	}
    	mp.initialized = true
    	if err := pthread_mutex_init(&mp.mutex, nil); err != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

          if (variables_iter == objects.variables.end()) {
            return absl::FailedPreconditionError(absl::StrCat(
                "Tried to convert node id ", node_id,
                " of type variable to tensor but the variable wasn't initialized"));
          }
          *handle = variables_iter->second->handle();
          return Status();
        }
        case SavedObject::kConstant: {
          const auto& constants_iter = objects.constants.find(node_id);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        this.journalFileBackup = directory / JOURNAL_FILE_BACKUP
      }
    
      @Synchronized
      @Throws(IOException::class)
      fun initialize() {
        this.assertThreadHoldsLock()
    
        if (initialized) {
          return // Already initialized.
        }
    
        // If a bkp file exists, use it instead.
        if (fileSystem.exists(journalFileBackup)) {
          // If journal file also exists just delete backup file.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestDB.h

     *  @see CU_get_registry
     *  @see CU_set_registry
     */
    
    CU_EXPORT CU_BOOL CU_registry_initialized(void);
    /**<
     *  Checks whether the test registry has been initialized.
     *
     *  @return  CU_TRUE if the registry has been initialized,
     *           CU_FALSE otherwise.
     *  @see CU_initialize_registry
     *  @see CU_cleanup_registry
     */
    
    CU_EXPORT 
    CU_pSuite CU_add_suite(const char *strName, 
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MultimapBuilder.java

      public static MultimapBuilderWithKeys<@Nullable Object> hashKeys() {
        return hashKeys(DEFAULT_EXPECTED_KEYS);
      }
    
      /**
       * Uses a hash table to map keys to value collections, initialized to expect the specified number
       * of keys.
       *
       * @throws IllegalArgumentException if {@code expectedKeys < 0}
       */
      public static MultimapBuilderWithKeys<@Nullable Object> hashKeys(int expectedKeys) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/MultimapBuilder.java

      public static MultimapBuilderWithKeys<@Nullable Object> hashKeys() {
        return hashKeys(DEFAULT_EXPECTED_KEYS);
      }
    
      /**
       * Uses a hash table to map keys to value collections, initialized to expect the specified number
       * of keys.
       *
       * @throws IllegalArgumentException if {@code expectedKeys < 0}
       */
      public static MultimapBuilderWithKeys<@Nullable Object> hashKeys(int expectedKeys) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top