Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4761 - 4770 of 5,421 for return (0.07 sec)

  1. src/test/java/jcifs/DialectVersionTest.java

            assertTrue(DialectVersion.SMB311.compareTo(DialectVersion.SMB1) > 0);
            assertEquals(0, DialectVersion.SMB302.compareTo(DialectVersion.SMB302));
        }
    
        @Test
        @DisplayName("Should return consistent ordinal values")
        void testOrdinalValues() {
            // Ordinal values should be consistent with enum declaration order
            assertTrue(DialectVersion.SMB1.ordinal() < DialectVersion.SMB202.ordinal());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    		}
    		s += fus
    		check(t, testname+" (fill 4)", buf, s)
    	}
    	return s
    }
    
    // Fill buf through n writes of byte slice fub.
    // The initial contents of buf corresponds to the string s;
    // the result is the final contents of buf returned as a string.
    func fillBytes(t *testing.T, testname string, buf *Buffer, s string, n int, fub []byte) string {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // Expected wire format: [0x04, 0x00, 0x00, 0x00]
            byte[] expected = new byte[] { 0x04, 0x00, 0x00, 0x00 };
            assertArrayEquals(expected, buffer);
        }
    
        @Test
        @DisplayName("Should always return 0 for readBytesWireFormat")
        void testReadBytesWireFormat() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/NetbiosNameTest.java

        }
    
        @Test
        @DisplayName("Should handle interface method contracts")
        void testMethodContracts() {
            // The interface should allow for various implementations
            // Test that methods can return any valid values
    
            // Names can be any string
            when(mockNetbiosName.getName()).thenReturn("ANYNAME");
            assertNotNull(mockNetbiosName.getName());
    
            // Scope can be null or any string
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            AppConfigurationEntry e = entries[0];
            Map<String, ?> returned = e.getOptions();
    
            // Assert
            assertNotNull(returned, "Returned options should not be null");
            assertEquals("true", returned.get("useKeyTab"));
            assertEquals("true", returned.get("storeKey"));
            assertEquals("******@****.***", returned.get("principal"));
            // Ensure no unexpected extra options
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            int decodedValue = 0;
    
            TestMessage() {
                /* nothing */
            }
    
            @Override
            public int getOpnum() {
                return 0x1234;
            }
    
            @Override
            public void encode_in(NdrBuffer buf) throws NdrException {
                buf.enc_ndr_small(0xAB);
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. tests/customize_field_test.go

    	}
    
    	if DB.Migrator().HasColumn(&CustomizeFieldStruct{}, "field_ignore") {
    		t.Errorf("FieldIgnore should not be created")
    	}
    
    	generateStruct := func(name string) *CustomizeFieldStruct {
    		return &CustomizeFieldStruct{
    			Name:             name,
    			FieldAllowCreate: name + "_allow_create",
    			FieldAllowUpdate: name + "_allow_update",
    			FieldAllowSave:   name + "_allow_save",
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

                .suppressing(ListHashCodeTester.getHashCodeMethod())
                .named("ImmutableList, unhashable values")
                .withFeatures(CollectionSize.ANY, ALLOWS_NULL_QUERIES)
                .createTestSuite());
        return suite;
      }
    
      // Creation tests
    
      public void testCreation_noArgs() {
        List<String> list = ImmutableList.of();
        assertEquals(emptyList(), list);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    Для этого используйте `yield` вместо `return`, а дополнительный код напишите после него.
    
    /// tip | Подсказка
    
    Обязательно используйте `yield` один-единственный раз.
    
    ///
    
    /// note | Технические детали
    
    Любая функция, с которой может работать:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. cmd/metrics-v3-system-network.go

    		m.Set(internodeDialAvgTimeNanos, float64(rpcStats.DialAvgDuration))
    		m.Set(internodeSentBytesTotal, float64(connStats.internodeOutputBytes))
    		m.Set(internodeRecvBytesTotal, float64(connStats.internodeInputBytes))
    	}
    	return nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top