Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 2,145 for else_ (0.02 sec)

  1. tests/update_belongs_to_test.go

    	}
    
    	var user5 User
    	DB.Preload("Company").Preload("Manager").Find(&user5, "id = ?", user.ID)
    	if user5.Manager.Name != user4.Manager.Name {
    		t.Errorf("should not update user's manager")
    	} else {
    		user.Manager.Name = user4.Manager.Name
    	}
    	CheckUser(t, user, user5)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java

            //        if ( messages.size() == 1 )
            //        {
            //            message.append( "There was 1 validation error: " );
            //        }
            //        else
            //        {
            //            message.append( "There was " + messages.size() + " validation errors: " + LS );
            //        }
            //
            for (int i = 0; i < messages.size(); i++) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

            String k = null;
            for (String line : Files.readAllLines(Paths.get("src/test/resources/dag.txt"))) {
                if (line.startsWith("\t")) {
                    data.add(new String[] {k, line.trim()});
                } else {
                    k = line;
                }
            }
            Collections.shuffle(data);
    
            long t0 = System.nanoTime();
            Graph g = new Graph();
            data.parallelStream().forEach(s -> {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NameQueryResponse.java

            srcIndex += 2;
            int address = readInt4( src, srcIndex );
            if( address != 0 ) {
                addrEntry[addrIndex] = new NbtAddress( recordName, address, groupName, nodeType );
            } else {
                addrEntry[addrIndex] = null;
            }
    
            return 6;
        }
        public String toString() {
            return new String( "NameQueryResponse[" +
                super.toString() +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt

          val newSize = deflatedBytes.size - LAST_OCTETS_COUNT_TO_REMOVE_AFTER_DEFLATION
          deflatedBytes.readAndWriteUnsafe().use { cursor ->
            cursor.resizeBuffer(newSize)
          }
        } else {
          // Same as adding EMPTY_DEFLATE_BLOCK and then removing 4 bytes.
          deflatedBytes.writeByte(0x00)
        }
    
        buffer.write(deflatedBytes, deflatedBytes.size)
      }
    
      @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    log.debug("New transport connection " + conn);
                }
                if ( nonPooled ) {
                    this.nonPooledConnections.add(conn);
                }
                else {
                    this.connections.add(0, conn);
                }
                return conn;
            }
        }
    
    
        /**
         * @param tc
         * @param address
         * @param port
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  7. cmd/veeam-sos-api.go

    			if q.Size > 0 {
    				quotaSize = int64(q.Size)
    			} else if q.Quota > 0 {
    				quotaSize = int64(q.Quota)
    			}
    		}
    
    		if quotaSize == 0 {
    			info := objAPI.StorageInfo(ctx, true)
    			info.Backend = objAPI.BackendInfo()
    
    			ci.Capacity = int64(GetTotalUsableCapacity(info.Disks, info))
    		} else {
    			ci.Capacity = quotaSize
    		}
    		ci.Available = ci.Capacity - ci.Used
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

      }
    
      private void setSucceeds(int pred, int succ) {
        if (pred == ENDPOINT) {
          firstEntry = succ;
        } else {
          setSuccessor(pred, succ);
        }
    
        if (succ == ENDPOINT) {
          lastEntry = pred;
        } else {
          setPredecessor(succ, pred);
        }
      }
    
      @Override
      void insertEntry(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            if (acceptationReason != null) {
                seenApiChanges.add(change)
                return Violation.accept(member, "${rejection.getHumanExplanation()}. Reason for accepting this: <b>$acceptationReason</b>")
            } else if (member instanceof JApiMethod && UpgradedProperties.shouldAcceptForUpgradedProperty(member, rejection, context)) {
                seenApiChanges.add(change)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

        assertEqualInOrder(values, multimap().get(key));
    
        if (!values.isEmpty()) {
          assertEqualInOrder(values, multimap().asMap().get(key));
          assertFalse(multimap().isEmpty());
        } else {
          assertNull(multimap().asMap().get(key));
        }
    
        assertEquals(values.size(), multimap().get(key).size());
        assertEquals(values.size() > 0, multimap().containsKey(key));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top