Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,884 for just (0.2 sec)

  1. guava/src/com/google/common/base/Verify.java

     *
     * // In case bug 12345 happens again we'd rather just die
     * Verify.verify(bill.status() == Status.UNPAID,
     *     "Unexpected bill status: %s", bill.status());
     * }</pre>
     *
     * <h3>Comparison to alternatives</h3>
     *
     * <p><b>Note:</b> In some cases the differences explained below can be subtle. When it's unclear
     * which approach to use, <b>don't worry</b> too much about it; just pick something that seems
     * reasonable and it will be fine.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  2. tests/prepared_stmt_test.go

    // for example: one goroutine found error and just close the database, and others are executing SQL
    // this test making sure that the gorm would not get a Segmentation Fault,
    // and the only error cause by this is using a closed Stmt or gorm.ErrInvalidDB
    // and all of the goroutine must got gorm.ErrInvalidDB after database close
    func TestPreparedStmtConcurrentClose(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Striped.java

        return lazyWeakCustom(stripes, WeakSafeReadWriteLock::new);
      }
      /**
       * ReadWriteLock implementation whose read and write locks retain a reference back to this lock.
       * Otherwise, a reference to just the read lock or just the write lock would not suffice to ensure
       * the {@code ReadWriteLock} is retained.
       */
      private static final class WeakSafeReadWriteLock implements ReadWriteLock {
        private final ReadWriteLock delegate;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

    /**
     * This URLConnection method just returns the result of <tt>lastModified</tt>.
     *
     * @return the last modified data as milliseconds since Jan 1, 1970
     */
        public long getDate() {
            try {
                return lastModified();
            } catch( SmbException se ) {
            }
            return 0L;
        }
    
    /**
     * This URLConnection method just returns the result of <tt>lastModified</tt>.
     *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Ordering.java

      }
    
      // Static factories
    
      /**
       * Returns an ordering based on an <i>existing</i> comparator instance. Note that it is
       * unnecessary to create a <i>new</i> anonymous inner class implementing {@code Comparator} just
       * to pass it in here. Instead, simply subclass {@code Ordering} and implement its {@code compare}
       * method directly.
       *
       * <p>The returned object is serializable if {@code comparator} is serializable.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

       * process it; all should produce the same answer, the only difference should be the number of
       * process()/processRemaining() invocations, due to alignment.
       */
      @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android.
      public void testExhaustive() throws Exception {
        Random random = new Random(0); // will iteratively make more debuggable, each time it breaks
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/websockets.md

    {!../../docs_src/websockets/tutorial001.py!}
    ```
    
    /// note | "Technical Details"
    
    You could also use `from starlette.websockets import WebSocket`.
    
    **FastAPI** provides the same `WebSocket` directly just as a convenience for you, the developer. But it comes directly from Starlette.
    
    ///
    
    ## Await for messages and send messages
    
    In your WebSocket route you can `await` for messages and send messages.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

        while (!descendant.equals(ancestor)) {
          classes.add(descendant);
          descendant = descendant.getSuperclass();
        }
    
        return classes;
      }
    
      /**
       * Not really a signature -- just the parts that affect whether one method is a fauxveride of a
       * method from an ancestor class.
       *
       * <p>See JLS 8.4.2 for the definition of the related "override-equivalent."
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        while (!descendant.equals(ancestor)) {
          classes.add(descendant);
          descendant = descendant.getSuperclass();
        }
    
        return classes;
      }
    
      /**
       * Not really a signature -- just the parts that affect whether one method is a fauxveride of a
       * method from an ancestor class.
       *
       * <p>See JLS 8.4.2 for the definition of the related "override-equivalent."
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                file.send( new TransWaitNamedPipe( "\\pipe" + file.unc ),
                                        new TransWaitNamedPipeResponse() );
            }
            writeDirect( b, off, len, 0 );
        }
    /**
     * Just bypasses TransWaitNamedPipe - used by DCERPC bind.
     */
        public void writeDirect( byte[] b, int off, int len, int flags ) throws IOException {
            if( len <= 0 ) {
                return;
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
Back to top