Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 372 for Loop (0.16 sec)

  1. configure.py

      """
      var = environ_cp.get(var_name)
      if not var:
        var = get_input(ask_for_var)
        print('\n')
      if not var:
        var = var_default
      return var
    
    
    def prompt_loop_or_load_from_env(environ_cp,
                                     var_name,
                                     var_default,
                                     ask_for_var,
                                     check_success,
    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)
  2. guava/src/com/google/common/base/Utf8.java

        int utf16Length = sequence.length();
        int utf8Length = utf16Length;
        int i = 0;
    
        // This loop optimizes for pure ASCII.
        while (i < utf16Length && sequence.charAt(i) < 0x80) {
          i++;
        }
    
        // This loop optimizes for chars less than 0x800.
        for (; i < utf16Length; i++) {
          char c = sequence.charAt(i);
          if (c < 0x800) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/Utf8Test.java

      private static void testBytes(int numBytes, long expectedCount) {
        testBytes(numBytes, expectedCount, 0, -1);
      }
    
      /**
       * Helper to run the loop to test all the permutations for the number of bytes specified. This
       * overload is useful for debugging to get the loop to start at a certain character.
       *
       * @param numBytes the number of bytes in the byte array
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function_test.cc

      VerifyFDefOutputs(fdef, M({{"test_loop_exit"}}));
      VerifyFDefEdges(fdef,
                      {{"feed1", "test_loop/Enter:0"},
                       {"test_loop/Enter:output:0", "test_loop/Merge:0"},
                       {"test_loop/Merge:output:0", "test_loop/Switch:0"},
                       {"test_loop/Switch:output_false:0", "test_loop/Exit:0"},
                       {"test_loop/Exit:output:0", "test_loop_exit"}},
                      {}, false);
    }
    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)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                    // Remove the waiter, one way or another we are done parking this thread.
                    removeWaiter(node);
                    break long_wait_loop; // jump down to the busy wait loop
                  }
                }
              }
              oldHead = waiters; // re-read and loop.
            } while (oldHead != Waiter.TOMBSTONE);
          }
          // re-read value, if we get here then we must have observed a TOMBSTONE while trying to add a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/transport/Transport.java

                } catch( InterruptedException ie ) {
                    throw new TransportException( ie );
                } finally {
                    response_map.remove( request );
                }
        }
        private void loop() {
            while( thread == Thread.currentThread() ) {
                try {
                    Request key = peekKey();
                    if (key == null)
                        throw new IOException( "end of stream" );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

          assertThat(e).matchesPredicate { it is CallStart || it is Canceled }
        } else {
          eventSequence.forEach loop@{
            when (e.closes(it)) {
              null -> return // no open event
              true -> return // found open event
              false -> return@loop // this is not the open event so continue
            }
          }
          fail<Any>("event $e without matching start event")
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9K bytes
    - Viewed (1)
  8. internal/disk/stat_linux.go

    	if firstTime {
    		bfs, err := blockdevice.NewDefaultFS()
    		if err == nil {
    			devName := ""
    			diskstats, _ := bfs.ProcDiskstats()
    			for _, dstat := range diskstats {
    				// ignore all loop devices
    				if strings.HasPrefix(dstat.DeviceName, "loop") {
    					continue
    				}
    				if dstat.MajorNumber == info.Major && dstat.MinorNumber == info.Minor {
    					devName = dstat.DeviceName
    					break
    				}
    			}
    			if devName != "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      // here too.
      static final String ERROR_MODIFIABLE_SET = "Set returned is unexpectedly modifiable";
      static final String ERROR_SELF_LOOP = "self-loops are not allowed";
      static final String ERROR_ADDED_SELF_LOOP = "Should not be allowed to add a self-loop edge.";
    
      /** Creates and returns an instance of the graph to be tested. */
      abstract Graph<Integer> createGraph();
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

       * @return a long of a concatenated 8 bytes
       */
      static long load64(byte[] input, int offset) {
        // We don't want this in production code as this is the most critical part of the loop.
        assert input.length >= offset + 8;
        // Delegates to the fast (unsafe) version or the fallback.
        return byteArray.getLongLittleEndian(input, offset);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
Back to top