Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,132 for Expected (0.04 sec)

  1. cmd/metacache-set.go

    				// Nothing more for prefix.
    				return entries, io.EOF
    			}
    			partN++
    			retries = 0
    		}
    	}
    }
    
    // getListQuorum interprets list quorum values and returns appropriate
    // acceptable quorum expected for list operations
    func getListQuorum(quorum string, driveCount int) int {
    	switch quorum {
    	case "disk":
    		return 1
    	case "reduced":
    		return 2
    	case "optimal":
    		return (driveCount + 1) / 2
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            // When & Then
            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
            assertEquals("Expected structureSize = 9", exception.getMessage());
        }
    
        @Test
        @DisplayName("Should handle empty notification list")
        void testEmptyNotificationList() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSetMultimap.java

      /** Returns a new {@link Builder}. */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder with a hint for how many distinct keys are expected to be added. The
       * generated builder is equivalent to that returned by {@link #builder}, but may perform better if
       * {@code expectedKeys} is a good estimate.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        byte[] sharedArray = new byte[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Bytes.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEnsureCapacity() {
        assertThat(Bytes.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
        assertThat(Bytes.ensureCapacity(ARRAY1, 0, 1)).isSameInstanceAs(ARRAY1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. tests/preload_test.go

    	}
    
    	AssertEqual(t, result, users)
    	AssertEqual(t, len(query), 2) // Check preload queries are merged
    
    	if !regexp.MustCompile(`SELECT \* FROM .*tools.* WHERE .*IN.*`).MatchString(query[0]) {
    		t.Fatalf("Expected first query to preload manager tools, got: %s", query[0])
    	}
    }
    
    func TestNestedPreloadWithPointerJoin(t *testing.T) {
    	type (
    		Preload struct {
    			ID     uint
    			Value  string
    			JoinID uint
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. src/archive/tar/strconv_test.go

    		b.Run(tt.name, func(b *testing.B) {
    			b.ReportAllocs()
    			for b.Loop() {
    				ts, err := parsePAXTime(tt.in)
    				if (err == nil) != tt.ok {
    					if err != nil {
    						b.Fatal(err)
    					}
    					b.Fatal("expected error")
    				}
    				if !ts.Equal(tt.want) {
    					b.Fatalf("time mismatch: got %v, want %v", ts, tt.want)
    				}
    			}
    		})
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. src/archive/zip/writer_test.go

    		},
    		{
    			Name:   "device",
    			Data:   []byte(""),
    			Method: Deflate,
    			Mode:   0755 | fs.ModeDevice,
    		},
    	}
    	err := w.AddFS(writeTestsToFS(tests))
    	if err == nil {
    		t.Errorf("expected error, got nil")
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       *     unrecoverable errors, callers should prefer more specific types, avoiding {@code
       *     Throwable.class} in particular.
       * @param fallback the {@link Function} to be called if the input fails with the expected
       *     exception type. The function's argument is the input's exception. "The input's exception"
       *     means the cause of the {@link ExecutionException} thrown by {@code this.get()} or, if
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

        ) {
          private val boundary: ByteString = boundary.encodeUtf8()
          private var type = MIXED
          private val parts = mutableListOf<Part>()
    
          /**
           * Set the MIME type. Expected values for `type` are [MIXED] (the default), [ALTERNATIVE],
           * [DIGEST], [PARALLEL] and [FORM].
           */
          fun setType(type: MediaType) =
            apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/FileNotifyInformationTest.java

                        | FileNotifyInformation.FILE_NOTIFY_CHANGE_STREAM_SIZE | FileNotifyInformation.FILE_NOTIFY_CHANGE_STREAM_WRITE;
    
                // Expected value when all flags are combined
                assertEquals(0x00000FFF, allFlags);
            }
    
            @Test
            @DisplayName("Test removing specific filter flag")
            void testRemovingFilterFlag() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top