Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 206 for getTest (0.06 sec)

  1. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            assertThat(e.getPrevious(), is(nullValue()));
            assertThat(e.getNext().getElement(), is("2"));
            e = list.getLastEntry();
            assertThat(e.getNext(), is(nullValue()));
            assertThat(e.getPrevious().getElement(), is("2"));
            list.getEntry(1).remove();
            assertThat(list.getFirst(), is("1"));
            assertThat(list.getLast(), is("3"));
            list.getLastEntry().remove();
    Registered: 2025-05-24 08:58
    - Last Modified: 2025-05-10 01:32
    - 8.3K bytes
    - Viewed (0)
  2. docs/nl/docs/features.md

    ### Getest
    
    * 100% <abbr title="De hoeveelheid code die automatisch wordt getest">van de code is getest</abbr>.
    * 100% <abbr title="Python type annotaties, hiermee kunnen je editor en externe tools je beter ondersteunen">type geannoteerde</abbr> codebase.
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-09-03 13:50
    - 10.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

                final AuthScheme authScheme = authentication.getAuthScheme();
                if (authScope.getHost() != null && authScheme != null) {
                    final HttpHost targetHost = new HttpHost(authScope.getHost(), authScope.getPort());
                    authCache.put(targetHost, authScheme);
                }
            }
    
            httpClientContext.setAuthCache(authCache);
    Registered: 2025-05-25 03:50
    - Last Modified: 2025-03-15 06:52
    - 10K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

          Iterators.advance(iterator, position);
          return Iterators.getNext(iterator, defaultValue);
        }
      }
    
      /**
       * Returns the first element in {@code iterable} or {@code defaultValue} if the iterable is empty.
       * The {@link Iterators} analog to this method is {@link Iterators#getNext}.
       *
       * <p>If no default value is desired (and the caller instead wants a {@link
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-03-17 20:26
    - 43.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testGetNext_withDefault_two() {
        Iterator<String> iterator = asList("foo", "bar").iterator();
        assertEquals("foo", Iterators.getNext(iterator, "x"));
      }
    
      public void testGetLast_basic() {
        List<String> list = new ArrayList<>();
        list.add("a");
        list.add("b");
        assertEquals("b", getLast(list.iterator()));
      }
    
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 54.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testGetNext_withDefault_two() {
        Iterator<String> iterator = asList("foo", "bar").iterator();
        assertEquals("foo", Iterators.getNext(iterator, "x"));
      }
    
      public void testGetLast_basic() {
        List<String> list = new ArrayList<>();
        list.add("a");
        list.add("b");
        assertEquals("b", getLast(list.iterator()));
      }
    
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 54.5K bytes
    - Viewed (0)
  7. cmd/warm-backend-azure.go

    		azMeta[k] = to.Ptr(v)
    	}
    	resp, err := az.clnt.UploadStream(ctx, az.Bucket, az.getDest(object), io.LimitReader(r, length), &azblob.UploadStreamOptions{
    		Concurrency: 4,
    		AccessTier:  az.tier(), // set tier if specified
    		Metadata:    azMeta,
    	})
    	if err != nil {
    		return "", azureToObjectError(err, az.Bucket, az.getDest(object))
    	}
    	vid := ""
    	if resp.VersionID != nil {
    		vid = *resp.VersionID
    	}
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-10-31 22:10
    - 7K bytes
    - Viewed (0)
  8. cmd/warm-backend-s3.go

    func (s3 *warmBackendS3) ToObjectError(err error, params ...string) error {
    	object := ""
    	if len(params) >= 1 {
    		object = params[0]
    	}
    
    	return ErrorRespToObjectError(err, s3.Bucket, s3.getDest(object))
    }
    
    func (s3 *warmBackendS3) getDest(object string) string {
    	destObj := object
    	if s3.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", s3.Prefix, object)
    	}
    	return destObj
    }
    
    Registered: 2025-05-25 19:28
    - Last Modified: 2024-10-31 22:10
    - 5.7K bytes
    - Viewed (0)
  9. cmd/warm-backend-gcs.go

    }
    
    func (gcs *warmBackendGCS) getDest(object string) string {
    	destObj := object
    	if gcs.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", gcs.Prefix, object)
    	}
    	return destObj
    }
    
    func (gcs *warmBackendGCS) PutWithMeta(ctx context.Context, key string, data io.Reader, length int64, meta map[string]string) (remoteVersionID, error) {
    	object := gcs.client.Bucket(gcs.Bucket).Object(gcs.getDest(key))
    	w := object.NewWriter(ctx)
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-03-30 00:56
    - 6.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

            "addAll(n, allPresent) should return true",
            getList().addAll(0, MinimalCollection.of(e0())));
        expectAdded(0, e0());
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAllAtIndex_unsupportedAllPresent() {
        assertThrows(
            UnsupportedOperationException.class, () -> getList().addAll(0, MinimalCollection.of(e0())));
        expectUnchanged();
      }
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-11-14 23:40
    - 6.4K bytes
    - Viewed (0)
Back to top