Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for nullName (0.04 sec)

  1. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        void getDfsReferrals_nullName() throws Exception {
            String nullName = null;
            doThrow(new jcifs.CIFSException("invalid dfs name")).when(transport).getDfsReferrals(eq(ctx), isNull(), any(), any(), anyInt());
    
            assertThrows(jcifs.CIFSException.class, () -> transport.getDfsReferrals(ctx, nullName, "h", "d", 1));
            verify(transport).getDfsReferrals(eq(ctx), isNull(), eq("h"), eq("d"), eq(1));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

            assertEquals(100L, mock.length());
        }
    
        @Nested
        @DisplayName("Edge case values")
        class EdgeCases {
    
            @Test
            @DisplayName("Null name is allowed via mock")
            void nullName() {
                FileEntry mock = mock(FileEntry.class);
                when(mock.getName()).thenReturn(null);
                assertNull(mock.getName());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            return this.domain;
        }
    
        /**
         * @param fullName
         *            the fullName to set
         */
        @Override
        public void setFullUNCPath(final String domain, final String server, final String fullName) {
            this.domain = domain;
            this.server = server;
            this.fullName = fullName;
        }
    
        /**
         * {@inheritDoc}
         *
         * Strips a leading \
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/SourceSinkTester.java

              + "justo commodo quam bibendum ut gravida leo accumsan. Nullam malesuada sagittis diam, "
              + "quis suscipit mauris euismod vulputate. Pellentesque ultrices tellus sed lorem "
              + "aliquet pulvinar. Nam lorem nunc, ultrices at auctor non, scelerisque eget turpis. "
              + "Nullam eget varius erat. Sed a lorem id arcu dictum euismod. Fusce lectus odio, "
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. scan.go

    		*uint, *uint8, *uint16, *uint32, *uint64, *uintptr,
    		*float32, *float64,
    		*bool, *string, *time.Time,
    		*sql.NullInt32, *sql.NullInt64, *sql.NullFloat64,
    		*sql.NullBool, *sql.NullString, *sql.NullTime:
    		for initialized || rows.Next() {
    			initialized = false
    			db.RowsAffected++
    			db.AddError(rows.Scan(dest))
    		}
    	default:
    		var (
    			fields       = make([]*schema.Field, len(columns))
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Files.java

       * Data Streams</a>.
       *
       * @since 11.0
       */
      public static String getFileExtension(String fullName) {
        checkNotNull(fullName);
        String fileName = new File(fullName).getName();
        int dotIndex = fileName.lastIndexOf('.');
        return (dotIndex == -1) ? "" : fileName.substring(dotIndex + 1);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Files.java

       * Data Streams</a>.
       *
       * @since 11.0
       */
      public static String getFileExtension(String fullName) {
        checkNotNull(fullName);
        String fileName = new File(fullName).getName();
        int dotIndex = fileName.lastIndexOf('.');
        return (dotIndex == -1) ? "" : fileName.substring(dotIndex + 1);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  8. tests/query_test.go

    		t.Errorf("got error when pluck time: %v", err)
    	}
    
    	for idx, tv := range ptrtimes {
    		AssertEqual(t, tv, users[idx].CreatedAt)
    	}
    
    	var nulltimes []sql.NullTime
    	if err := DB.Model(User{}).Where("name like ?", "pluck-user%").Pluck("created_at", &nulltimes).Error; err != nil {
    		t.Errorf("got error when pluck time: %v", err)
    	}
    
    	for idx, tv := range nulltimes {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
Back to top