Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 1,222 for take (0.15 sec)

  1. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      public void testAsList_toArray_roundTrip() {
        float[] array = {0.0f, 1.0f, 2.0f};
        List<Float> list = Floats.asList(array);
        float[] newArray = Floats.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, 4.0f);
        assertThat(newArray).isEqualTo(new float[] {0.0f, 1.0f, 2.0f});
        newArray[1] = 5.0f;
        assertThat((float) list.get(1)).isEqualTo(1.0f);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * cancel()} on the returned future has no effect on the {@code ClosingFuture} pipeline.
       *
       * <p>{@code statusFuture} differs from most methods on {@code ClosingFuture}: You can make calls
       * to {@code statusFuture} <i>in addition to</i> the call you make to {@link #finishToFuture()} or
       * a derivation method <i>on the same instance</i>. This is important because calling {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/asm.go

    		p.errorf("expect two or three operands for TEXT")
    		return
    	}
    
    	// Labels are function scoped. Patch existing labels and
    	// create a new label space for this TEXT.
    	p.patch()
    	p.labels = make(map[string]*obj.Prog)
    
    	// Operand 0 is the symbol name in the form foo(SB).
    	// That means symbol plus indirect on SB and no offset.
    	nameAddr := p.address(operands[0])
    	if !p.validSymbol("TEXT", &nameAddr, false) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            } catch (final IOException e) {
                throw new OpenSearchAccessException("Failed to convert " + target + " to JSON.", e);
            }
        }
    
        /**
         * Refreshes the OpenSearch index to make recent changes visible for search.
         *
         * @return The RefreshResponse from OpenSearch.
         * @throws OpenSearchAccessException if the refresh operation fails.
         */
        protected RefreshResponse refresh() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        Queue<Integer> queue = new UnIterableQueue<>(new LinkedList<>(asList(5, 14)));
    
        Iterator<Integer> consumingIterator = Iterables.consumingIterable(queue).iterator();
        /*
         * Make sure that we can get an element off without calling
         * UnIterableQueue.iterator().
         */
        assertEquals(5, consumingIterator.next().intValue());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  6. ci/official/containers/ml_build_arm64/builder.devtoolset/stringop_trunc.patch

    @@ -29,54 +25,16 @@
     char *
     STRNCAT (char *s1, const char *s2, size_t n)
     {
    -  char c;
       char *s = s1;
     
       /* Find the end of S1.  */
    -  do
    -    c = *s1++;
    -  while (c != '\0');
    -
    -  /* Make S1 point before next character, so we can increment
    -     it while memory is read (wins on pipelined cpus).  */
    -  s1 -= 2;
    +  s1 += strlen (s1);
     
    -  if (n >= 4)
    -    {
    -      size_t n4 = n >> 2;
    -      do
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Nov 11 19:25:56 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IterablesTest.java

        Queue<Integer> queue = new UnIterableQueue<>(new LinkedList<>(asList(5, 14)));
    
        Iterator<Integer> consumingIterator = Iterables.consumingIterable(queue).iterator();
        /*
         * Make sure that we can get an element off without calling
         * UnIterableQueue.iterator().
         */
        assertEquals(5, consumingIterator.next().intValue());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    	if err != nil {
    		c.Fatalf("import %d: Unable to import IAM: %v", caseNum, err)
    	}
    
    	gotContent := iamTestContent{
    		policies:                make(map[string][]byte),
    		ldapUserPolicyMappings:  make(map[string][]string),
    		ldapGroupPolicyMappings: make(map[string][]string),
    	}
    	policyContentMap, err := s.adm.ListCannedPolicies(ctx)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  9. src/main/java/jcifs/SmbResource.java

         *
         * @throws CIFSException if an error occurs modifying the resource
         */
        void setReadWrite() throws CIFSException;
    
        /**
         * Make this file read-only. This is shorthand for <code>setAttributes(
         * getAttributes() | ATTR_READ_ONLY )</code>.
         *
         * @throws CIFSException if an error occurs modifying the resource
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  10. cmd/object-api-listobjects_test.go

    					}
    				}
    			}
    		})
    	}
    }
    
    func objInfoNames(o []ObjectInfo) []string {
    	res := make([]string, len(o))
    	for i := range o {
    		res[i] = o[i].Name
    	}
    	return res
    }
    
    func TestDeleteObjectVersionMarker(t *testing.T) {
    	ExecObjectLayerTest(t, testDeleteObjectVersion)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 76.1K bytes
    - Viewed (0)
Back to top