Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 537 for nothing (0.06 sec)

  1. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

            .putShort((short) 0x0000)
            .putShort((short) 0x0000);
        assertEquals(hashCode, hasher.hash().asLong());
      }
    
      public void testHashFloatIsStable() {
        // Just a spot check.  Better than nothing.
        Hasher hasher = HASH_FN.newHasher();
        hasher.putFloat(0x01000101f).putFloat(0f);
        assertEquals(0x49f9d18ee8ae1b28L, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/LogStreamTest.java

            // Test that default level is 1
            assertEquals(1, LogStream.level);
        }
    
        @Test
        void testLevelValuesDocumentation() {
            // Test various level values as documented
            // 0 - nothing
            LogStream.setLevel(0);
            assertEquals(0, LogStream.level);
    
            // 1 - critical [default]
            LogStream.setLevel(1);
            assertEquals(1, LogStream.level);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

       */
      fun close(
        code: Int,
        reason: String?,
      ): Boolean
    
      /**
       * Immediately and violently release resources held by this web socket, discarding any enqueued
       * messages. This does nothing if the web socket has already been closed or canceled.
       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new web socket and immediately returns it. Creating a web socket initiates an
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            serveConnection(nextConnectionIndex++, socket, peek)
          }
        }
      }
    
      public override fun close() {
        if (closed) return
        closed = true
    
        if (!started) return // Nothing to shut down.
        val serverSocket = this.serverSocket ?: return // If this is null, start() must have failed.
    
        // Cause acceptConnections() to break out.
        serverSocket.closeQuietly()
    
        // Await shutdown.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  5. tests/associations_test.go

    }
    
    func (sd emptyQueryClause) Build(clause.Builder) {
    }
    
    func (sd emptyQueryClause) MergeClause(*clause.Clause) {
    }
    
    func (sd emptyQueryClause) ModifyStatement(stmt *gorm.Statement) {
    	// do nothing
    }
    
    func TestAssociationEmptyQueryClause(t *testing.T) {
    	type Organization struct {
    		gorm.Model
    		Name string
    	}
    	type Region struct {
    		gorm.Model
    		Name          string
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Then - nothing should happen (empty implementation)
            verifyNoInteractions(request);
        }
    
        @Test
        @DisplayName("Should setup response correctly")
        void testSetupResponse() {
            // Given
            Response resp = mock(Response.class);
    
            // When
            response.setupResponse(resp);
    
            // Then - nothing should happen (empty implementation)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

        MutableGraph<Integer> undirectedGraph = GraphBuilder.undirected().allowsSelfLoops(true).build();
        undirectedGraph.addNode(N0);
        undirectedGraph.putEdge(N1, N2);
        undirectedGraph.putEdge(N2, N1); // does nothing
        undirectedGraph.putEdge(N1, N3);
        undirectedGraph.putEdge(N4, N4);
        containsExactlySanityCheck(
            undirectedGraph.edges(),
            EndpointPair.unordered(N1, N2),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("Should have removed an element", 2, list.size());
        assertFalse("Second element should be gone", list.contains("B"));
      }
    
      static class ThrowsAtEndException extends RuntimeException {
        /* nothing */
      }
    
      /**
       * This Iterator claims to have more elements than the underlying iterable, but when you try to
       * fetch the extra elements, it throws an unchecked exception.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
    
                // Mock parent close() to do nothing - explicitly mock the super.close() behavior
                // The close method calls super.close(), then handle.close(), then pipe.close()
                lenient().doNothing().when((DcerpcHandle) handle).close();
    
                // Setup close to call real method which will then call our mocked components
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/MIENameTest.java

            }
        }
    
        @Test
        @DisplayName("Mockito presence: no collaborator interactions to verify")
        void noDependenciesToMock() {
            // This class has no external collaborators; nothing to verify.
            // Keep Mockito import usage minimal to satisfy build-time linkage.
            Runnable r = mock(Runnable.class);
            r.run();
            verify(r, times(1)).run();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top