Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for seed (0.15 sec)

  1. cmd/test-utils_test.go

    func getRandomRange(min, max int, seed int64) int {
    	// special value -1 means no explicit seeding.
    	if seed != -1 {
    		rand.Seed(seed)
    	}
    	return rand.Intn(max-min) + min
    }
    
    // Randomizes the order of bytes in the byte array
    // using Knuth Fisher-Yates shuffle algorithm.
    func randomizeBytes(s []byte, seed int64) []byte {
    	// special value -1 means no explicit seeding.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        assertThat(dnsEnd.inetAddressList.size).isEqualTo(1)
      }
    
      @Test
      fun noDnsLookupOnPooledConnection() {
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
    
        // Seed the pool.
        val call1 =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        val response1 = call1.execute()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                writeJsonResponse(HttpServletResponse.SC_BAD_REQUEST, escapeJsonKeyValue(MESSAGE_FIELD, "Unsupported operation."));
                return;
            }
    
            final String seed = request.getParameter("seed");
            String[] tags = SearchRequestParams.getParamValueArray(request, "label");
            final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            if (StringUtil.isNotBlank(key)) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  4. tests/migrate_test.go

    		// In SQLServer, If an index or constraint depends on the column,
    		// this column will not be able to run ALTER
    		// see https://stackoverflow.com/questions/19460912/the-object-df-is-dependent-on-column-changing-int-to-double/19461205#19461205
    		// may we need to create another PR to fix it, see https://github.com/go-gorm/sqlserver/pull/106
    		tests = []TestCase{
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  5. okhttp/api/okhttp.api

    	public abstract fun cancel ()V
    	public abstract fun close (ILjava/lang/String;)Z
    	public abstract fun queueSize ()J
    	public abstract fun request ()Lokhttp3/Request;
    	public abstract fun send (Ljava/lang/String;)Z
    	public abstract fun send (Lokio/ByteString;)Z
    }
    
    public abstract interface class okhttp3/WebSocket$Factory {
    	public abstract fun newWebSocket (Lokhttp3/Request;Lokhttp3/WebSocketListener;)Lokhttp3/WebSocket;
    }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    				// such an intersection means that bucket exists on etcd.
    				// but if we do see a difference with local domain IPs with
    				// hostSlice from etcd then we should update with newer
    				// domainIPs, we proceed to do that here.
    				bucketsToBeUpdated.Add(bucket.Name)
    				continue
    			}
    
    			// No IPs seem to intersect, this means that bucket exists but has
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_function_test.cc

       */
      // Define
      TF_Operation* feed = Placeholder(func_graph_, s_);
      Define(-1, {}, {feed}, {feed}, {});
    
      // Use, run, and verify
      TF_Operation* func_feed = Placeholder(host_graph_, s_);
      TF_Operation* func_op = Use({func_feed});
      Run({{func_feed, Int32Tensor(3)}}, func_op, 3);
      VerifyFDef(empty_, {{"feed_0", DT_INT32}}, {{"feed", DT_INT32}},
                 {{"feed_0", "feed"}}, {});
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  8. tensorflow/c/c_api_test.cc

    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  9. cmd/xl-storage.go

    				// Linux returns InvalidArg for directory O_DIRECT
    				// we need to keep this fallback code to return correct
    				// errors upwards.
    				return nil, dmTime, errFileNotFound
    			}
    			return nil, dmTime, errUnsupportedDisk
    		}
    		return nil, dmTime, err
    	}
    
    	if discard {
    		// This discard is mostly true for DELETEEs
    		// so we need to make sure we do not keep
    		// page-cache references after.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. configure.py

        environ_cp['TF_NEED_CUDA'] = '0'
      else:
        environ_cp['TF_NEED_CUDA'] = str(
            int(get_var(environ_cp, 'TF_NEED_CUDA', 'CUDA', False)))
      if (environ_cp.get('TF_NEED_CUDA') == '1' and
          'TF_CUDA_CONFIG_REPO' not in environ_cp):
    
        set_action_env_var(
            environ_cp,
            'TF_NEED_TENSORRT',
            'TensorRT',
            False,
            bazel_config_name='tensorrt')
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top