Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 1,333 for CASE (0.07 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      }
    
      private static <E> ImmutableList<E> copyFromCollection(Collection<? extends E> collection) {
        Object[] elements = collection.toArray();
        switch (elements.length) {
          case 0:
            return of();
          case 1:
            @SuppressWarnings("unchecked") // safe because it came from `collection`
            E element = (E) elements[0];
            return of(element);
          default:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. clause/update_test.go

    		{
    			[]clause.Interface{clause.Update{Table: clause.Table{Name: "products"}, Modifier: "LOW_PRIORITY"}},
    			"UPDATE LOW_PRIORITY `products`", nil,
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 722 bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    </p>
    
    <pre>
    switch tag {
    default: s3()
    case 0, 1, 2, 3: s1()
    case 4, 5, 6, 7: s2()
    }
    
    switch x := f(); {  // missing switch expression means "true"
    case x &lt; 0: return -x
    default: return x
    }
    
    switch {
    case x &lt; y: f1()
    case x &lt; z: f2()
    case x == 4: f3()
    }
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                    case INDEXED_START:
                        value = getIndexedValue(
                                expression,
                                propertyPosition,
                                tokenizer.getPosition(),
                                value,
                                tokenizer.nextToken(INDEXED_END));
                        break;
                    case MAPPED_START:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. clause/insert_test.go

    		{
    			[]clause.Interface{clause.Insert{Table: clause.Table{Name: "products"}, Modifier: "LOW_PRIORITY"}},
    			"INSERT LOW_PRIORITY INTO `products`", nil,
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 737 bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

     * dependencies can be specified in which case the specified direct dependencies are merged with the direct dependencies
     * retrieved from the artifact descriptor of the root dependency. And last, only direct dependencies can be specified in
     * which case the root node of the resulting graph has no associated dependency.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/LineBuffer.java

          switch (cbuf[pos]) {
            case '\r':
              line.append(cbuf, start, pos - start);
              sawReturn = true;
              if (pos + 1 < end) {
                if (finishLine(cbuf[pos + 1] == '\n')) {
                  pos++;
                }
              }
              start = pos + 1;
              break;
    
            case '\n':
              line.append(cbuf, start, pos - start);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/LineBuffer.java

          switch (cbuf[pos]) {
            case '\r':
              line.append(cbuf, start, pos - start);
              sawReturn = true;
              if (pos + 1 < end) {
                if (finishLine(cbuf[pos + 1] == '\n')) {
                  pos++;
                }
              }
              start = pos + 1;
              break;
    
            case '\n':
              line.append(cbuf, start, pos - start);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. internal/bucket/replication/filter.go

    func (f Filter) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
    	if err := e.EncodeToken(start); err != nil {
    		return err
    	}
    
    	switch {
    	case !f.And.isEmpty():
    		if err := e.EncodeElement(f.And, xml.StartElement{Name: xml.Name{Local: "And"}}); err != nil {
    			return err
    		}
    	case !f.Tag.IsEmpty():
    		if err := e.EncodeElement(f.Tag, xml.StartElement{Name: xml.Name{Local: "Tag"}}); err != nil {
    			return err
    		}
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 28 18:25:46 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/os/user/68312.md

    On Windows, [Current] has been made considerably faster when
    the current user is joined to a slow domain, which is the
    usual case for many corporate users. The new implementation
    performance is now in the order of milliseconds, compared to
    the previous implementation which could take several seconds,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 21 19:59:22 UTC 2024
    - 332 bytes
    - Viewed (0)
Back to top